JDK-8145041 : A common Cleaner for general use may be useful
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2015-12-09
  • Updated: 2018-09-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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
java.lang.ref.Cleaner supports lightweight cleanup of object without using finalization.  It is up to each class or library to create or share a Cleaner object.
It may be useful to have a common Cleaner to amortize the cost of the thread needed by the cleaner.
There is a risk to applications sharing a cleaner that a misbehaving cleaning function might delay or disrupt cleaning.