You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-25938] Lock an Executor without creating a Thread #23659
Currently WorkflowRun.waitForCompletion spins on a thread just so it can hold a (flyweight) Executor open. Similarly, ExecutorStepExecution.PlaceholderTask spins just to hold a (heavyweight) Executor open. These are wasteful. There should be an optional Task or Executable interface that can run asynchronously, without literally consuming a native Thread for each one.
Currently WorkflowRun.waitForCompletion spins on a thread just so it can hold a (flyweight) Executor open. Similarly, ExecutorStepExecution.PlaceholderTask spins just to hold a (heavyweight) Executor open. These are wasteful. There should be an optional Task or Executable interface that can run asynchronously, without literally consuming a native Thread for each one.
Activity
jenkins-infra-bot commentedon Dec 5, 2014
Remote link associated with this issue:
jenkins-infra-bot commentedon Mar 25, 2015
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
core/src/main/java/hudson/model/AbstractBuild.java
core/src/main/java/hudson/model/Computer.java
core/src/main/java/hudson/model/Executor.java
core/src/main/java/hudson/model/OneOffExecutor.java
core/src/main/java/hudson/model/Queue.java
core/src/main/java/hudson/model/ResourceController.java
core/src/main/java/hudson/model/queue/WorkUnitContext.java
core/src/main/java/jenkins/model/queue/Executable2.java
http://jenkins-ci.org/commit/jenkins/46a900f4cb468853c5dca844d258b5b862c3a8bf
Log:
JENKINS-25938Introduced AsynchronousExecutable.jenkins-infra-bot commentedon Mar 25, 2015
Raw content of original comment:
Integrated in
jenkins_main_trunk #4029
JENKINS-25938Introduced AsynchronousExecutable. (Revision 46a900f)Result = SUCCESS
jesse glick : 46a900f4cb468853c5dca844d258b5b862c3a8bf
Files :
jenkins-infra-bot commentedon Mar 27, 2015
Raw content of original comment:
JENKINS-21618JENKINS-22941JENKINS-25938JENKINS-26391JENKINS-26900JENKINS-27476JENKINS-27563JENKINS-27564JENKINS-27565JENKINS-27566Code changed in jenkins
User: Stephen Connolly
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/46dc6850edb1d7ef52592794b15e69db7dfbed1a
Log:
Noting merges
JENKINS-21618JENKINS-22941JENKINS-25938JENKINS-26391JENKINS-26900JENKINS-27476JENKINS-27563JENKINS-27564JENKINS-27565JENKINS-27566jenkins-infra-bot commentedon Apr 30, 2015
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java
job/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution.java
http://jenkins-ci.org/commit/workflow-plugin/ee2ca390e73004b411e133c1832b88e977b47f28
Log:
JENKINS-25938Starting to use AsynchronousExecutable.jenkins-infra-bot commentedon Apr 5, 2016
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java
http://jenkins-ci.org/commit/workflow-cps-plugin/89032eb815863a7008a21ad6d545e33eb77160cc
Log:
JENKINS-25938Starting to use AsynchronousExecutable.Originally-Committed-As: ee2ca390e73004b411e133c1832b88e977b47f28
jenkins-infra-bot commentedon Apr 5, 2016
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
job/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
http://jenkins-ci.org/commit/workflow-job-plugin/149188bc42f2cab01ea9efc54774dfdfb213f068
Log:
JENKINS-25938Starting to use AsynchronousExecutable.Originally-Committed-As: ee2ca390e73004b411e133c1832b88e977b47f28
jenkins-infra-bot commentedon Nov 24, 2025
[Original
is_duplicated_byfrom Jira: JENKINS-26098]jenkins-infra-bot commentedon Nov 24, 2025
[Original
relates_tofrom Jira: JENKINS-22941]jenkins-infra-bot commentedon Nov 24, 2025
[Original
relates_tofrom Jira: JENKINS-26900]jenkins-infra-bot commentedon Nov 24, 2025
[Original
depends_onfrom Jira: JENKINS-34450]