RFR: 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread [v2]
Alan Bateman
alanb at openjdk.java.net
Mon Mar 28 15:05:41 UTC 2022
On Fri, 18 Mar 2022 15:23:27 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> The thread factory used to create the process reaper threads unnecessarily inherits the callers thread context classloader.
>> The result is retention of the class loader.
>>
>> The thread factory used for the pool of process reaper threads is modified to use an InnocuousThread with a given stacksize.
>> The test verifies that the process reaper threads have a null context classloader.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Folded lines to reduce max line length
Marked as reviewed by alanb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7131
More information about the core-libs-dev
mailing list