JDK-8146028 : Common Cleaner for finalization replacements in OpenJDK
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-22
  • Updated: 2016-01-21
  • Resolved: 2016-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b102Fixed
Related Reports
Relates :  
Relates :  
Description
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() {...}
Comments
Webrev prototype: http://cr.openjdk.java.net/~rriggs/webrev-cleaning-factory-8146028/
22-12-2015