Branch: refs/heads/master
Home: https://github.com/jenkinsci/build-timeout-plugin
Commit: ee18187343060a92a931e749815dd80abc1752d3
https://github.com/jenkinsci/build-timeout-plugin/commit/ee18187343060a92a931e749815dd80abc1752d3
Author: James Nord <[email protected]>
Date: 2015-11-18 (Wed, 18 Nov 2015)
Changed paths:
M src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
Log Message:
-----------
[FIXED JENKINS-31627] canceld TimerTasks should be purged.
The TimerTask could be way off into the future as it is user input that
decides when this is run (and or jobs running multiple days the inactivity
could be 1 day). Without purging the Timer the TimerTasks stay into the
queue until such time that they are the next task to run - at which time
they are removed. But with all other triggers in a system (polling every
minute etc) added timers could stay for their maximum duration.
For arguments sake say this is 1 day and you have a build that produces
10000 lines of output every 10 hours and uses the NoActivity strategy.
In this case for every call to write you will have a new TimerTask created
that should trigger in 24hours time - it is easy to see these 10000
TimerTasks are referenced from the Timer and as such will not be garbaged
collected for a long while.
If you have lots of these styles of jobs - the required heap to run this
becomes massive.
Commit: 5db020d28edf91db5a9fb87900100de701595abb
https://github.com/jenkinsci/build-timeout-plugin/commit/5db020d28edf91db5a9fb87900100de701595abb
Author: ikedam <[email protected]>
Date: 2015-11-21 (Sat, 21 Nov 2015)
Changed paths:
M src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
Log Message:
-----------
Merge pull request #47 from jtnord/JENKINS-31627
[FIXED JENKINS-31627] canceled TimerTasks should be purged.
Compare:
https://github.com/jenkinsci/build-timeout-plugin/compare/16896012b4d4...5db020d28edf
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.