Package org.apache.catalina.startup
Class SafeForkJoinWorkerThreadFactory
- java.lang.Object
-
- org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
public class SafeForkJoinWorkerThreadFactory extends java.lang.Object implements java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
Provides aForkJoinPool.ForkJoinWorkerThreadFactory
that providesForkJoinWorkerThread
s that won't trigger memory leaks due to retained references to web application class loaders.Note: This class must be available on the boot strap class path for it to be visible to
ForkJoinPool
.
-
-
Constructor Summary
Constructors Constructor Description SafeForkJoinWorkerThreadFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ForkJoinWorkerThread
newThread(java.util.concurrent.ForkJoinPool pool)
-