RFR: 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread [v2]

Roger Riggs rriggs at openjdk.java.net
Mon Mar 28 14:25:46 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

@AlanBateman Please review and approve

-------------

PR: https://git.openjdk.java.net/jdk/pull/7131


More information about the core-libs-dev mailing list