Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25938

Lock an Executor without creating a Thread

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-26098 [ JENKINS-26098 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-26900 [ JENKINS-26900 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-22941 [ JENKINS-22941 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 1610 (Web Link)" [ 12169 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            imakowski Ireneusz Makowski made changes -
            Labels api executor performance threads workflow api executor lts-candidate performance threads workflow
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-28182 [ JENKINS-28182 ]
            danielbeck Daniel Beck made changes -
            Labels api executor lts-candidate performance threads workflow api executor performance threads workflow
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-34450 [ JENKINS-34450 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159926 ] JNJira + In-Review [ 196248 ]
            abayer Andrew Bayer made changes -
            Labels api executor performance threads workflow api executor performance pipeline threads workflow
            abayer Andrew Bayer made changes -
            Labels api executor performance pipeline threads workflow api executor performance pipeline threads

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: