A common cleaner for use within the java.base module should be used to be efficient about the resources committed to cleanup.
A CleanerFactory class in jdk.internal.misc is proposed.
public static Cleaner cleaner() {...}
A CleanerFactory class in jdk.internal.misc is proposed.
public static Cleaner cleaner() {...}
- relates to
-
JDK-8147443 Use Common Cleaner in Marlin OffHeapArray
-
- Resolved
-
-
JDK-8138696 java.lang.ref.Cleaner - an alternative to finalization
-
- Resolved
-