RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization

Roger Riggs Roger.Riggs at Oracle.com
Thu Oct 8 20:41:40 UTC 2015

Please review a few improvements to the Cleaner nested classes and 
  - The extensible reference classes have shorter names that focus on 
the cleanup behavior,
     PhantomCleanup, WeakCleanup, SoftCleanup and to update the javadoc
  - Added documentation for the Reference.get method; its behavior was 
not clear
  - Corrected a race condition that would prevent the cleaning thread 
from terminating
  - cleanup of the link list management



Please review and comment, Roger

More information about the core-libs-dev mailing list