-
Bug
-
Resolution: Fixed
-
Minor
-
-
Jenkins 2.181
The threads in the thread pool used for Proc.joinWithTimeout inherit their context class loader from the thread that calls Proc.joinWithTimeout, which seems undesirable. While looking into JENKINS-50223, I found a case where one of the threads in the thread pool was holding onto a CleanGroovyClassLoader class loader from workflow-cps (see the attached screenshot), which is definitely undesirable.
We should wrap this thread pool in ClassLoaderSanityThreadFactory to prevent this kind of issue from happening.
- links to
[JENKINS-57725] Proc.executor inherits ContextClassLoader dynamically
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "jenkinsci/jenkins#4035 (Web Link)" [ 23028 ] |
Released As | New: Jenkins 2.181 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |
Labels | New: lts-candidate |
Labels | Original: lts-candidate | New: 2.176.2-fixed |
Attachment | New: Screenshot from 2019-07-22 15-35-03.png [ 48051 ] |
Attachment | New: d119bce8-b89a-4ece-9327-a7fbfc791ff9.png [ 48052 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |