-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
Executors.newSingleThreadExecutor returns a delegating ExecutorService with a finalize method to shutdown the underlying TPE. This was introduced via JDK-6399443 in JDK 6. The finalizer can be trivially replaced with a Cleaner.
- causes
-
JDK-8362123 ClassLoader Leak via Executors.newSingleThreadExecutor(...)
-
- Resolved
-
- relates to
-
JDK-6399443 ThreadPoolExecutor leak
-
- Closed
-
-
JDK-8253568 Replace and mitigate Object.finalize() uses in JDK libraries
-
- Open
-