Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/workflow-api-plugin
  Commit: eb3048eba73f5dc69f7683535cea79bf1da4ba3b
      
https://github.com/jenkinsci/workflow-api-plugin/commit/eb3048eba73f5dc69f7683535cea79bf1da4ba3b
  Author: Jon Sten <j...@axis.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/workflow/actions/ErrorAction.java
    M src/test/java/org/jenkinsci/plugins/workflow/actions/ErrorActionTest.java

  Log Message:
  -----------
  Fix memory leak of GroovyClassLoaders

MissingPropertyExceptions thrown due to Pipeline scripts can, given the
right circumstances, contain references indirect references to the
Groovy class loader for the pipeline execution. A memory leak will
occur if the exception is saved in a ErrorAction, i.e. if the exception
flies all the way or passes a step before it is caught and treated.

In more detail, if the pipeline code tries to lookup a missing property
in the WorkflowScript class instance, then a MissingPropertyException
will be thrown and the type field in the exception will contain a link
to the WorkflowScript instance, which in turn contains a static link to
the Groovy class loader.


  Commit: 691486f1620e88be346e817bbf1e7b0147ee0a75
      
https://github.com/jenkinsci/workflow-api-plugin/commit/691486f1620e88be346e817bbf1e7b0147ee0a75
  Author: Jon <jon.s...@axis.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/workflow/actions/ErrorAction.java

  Log Message:
  -----------
  Update ErrorAction.java


  Commit: 53969cd480175103cbee1e78987ccbc4ae90f19a
      
https://github.com/jenkinsci/workflow-api-plugin/commit/53969cd480175103cbee1e78987ccbc4ae90f19a
  Author: Devin Nusbaum <dwnusb...@users.noreply.github.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/workflow/actions/ErrorAction.java
    M src/test/java/org/jenkinsci/plugins/workflow/actions/ErrorActionTest.java

  Log Message:
  -----------
  Merge pull request #110 from jonsten/MissingPropertyMemoryLeak

Fix memory leak of GroovyClassLoaders


Compare: 
https://github.com/jenkinsci/workflow-api-plugin/compare/e1c26057165f...53969cd48017

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/workflow-api-plugin/push/refs/heads/master/e1c260-53969c%40github.com.

Reply via email to