RFR: 8327501: Common ForkJoinPool prevents class unloading in some cases
Doug Lea
dl at openjdk.org
Wed Mar 6 23:39:54 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.
Yes, this seems like the simplest practical solution.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18144#issuecomment-1982042229
More information about the core-libs-dev
mailing list