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.
- depends on
-
JENKINS-34450 Deadlock between Executor and AsynchronousExecution
- Open
- is blocking
-
JENKINS-28182 Revisit use of $JENKINS_SERVER_COOKIE and Launcher.kill
- Resolved
- is duplicated by
-
JENKINS-26098 Asynch Queue.Executable
- Resolved
- is related to
-
JENKINS-22941 Way to mark an Executable that should not block isReadyToRestart
- Resolved
-
JENKINS-26900 Hide flyweight master executor when ≥1 heavyweight executors running as subtasks
- Resolved
- links to