Class SafeForkJoinWorkerThreadFactory
java.lang.Object
org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory
- All Implemented Interfaces:
ForkJoinPool.ForkJoinWorkerThreadFactory
public class SafeForkJoinWorkerThreadFactory
extends Object
implements ForkJoinPool.ForkJoinWorkerThreadFactory
Provides a
ForkJoinPool.ForkJoinWorkerThreadFactory
that provides ForkJoinWorkerThread
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
-
Method Summary
-
Constructor Details
-
SafeForkJoinWorkerThreadFactory
public SafeForkJoinWorkerThreadFactory()
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceForkJoinPool.ForkJoinWorkerThreadFactory
-