rch 2024 13:23
To: core-libs-...@openjdk.java.net
Subject: Class loader leaked when ForkJoinPool is used in loaded class, with
Java 19+
Hi all,
after moving our application to Java 21 (up from Java 17), we noticed a class
loader leak. A memory snapshot points to a ProtectionDomain
Hi all,
after moving our application to Java 21 (up from Java 17), we noticed a
class loader leak. A memory snapshot points to a ProtectionDomain object
held by a ForkJoinWorkerThread, the protection domain holds the class
loader and prevents GC.
To reproduce outside of our application, we use th