RFR: 8327501: Common ForkJoinPool prevents class unloading in some cases

Viktor Klang vklang at openjdk.org
Wed Mar 6 23:17:55 UTC 2024


On Wed, 6 Mar 2024 22:58:54 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> The common ForkJoinPool creating threads as a result of submitting tasks is preventing class unloading when the thread construction is initiated from a class loaded in a separate classloader. This fix avoids that when no SecurityManager is configured.

Adding @DougLea and @AlanBateman for comments.

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

PR Comment: https://git.openjdk.org/jdk/pull/18144#issuecomment-1982015865


More information about the core-libs-dev mailing list