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

Viktor Klang vklang at openjdk.org
Fri Mar 8 13:59:59 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.

@trancexpress I defer all credit to @AlanBateman. :)

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

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


More information about the core-libs-dev mailing list