On 5 Jan 2016, at 18:24, Roger Riggs <roger.ri...@oracle.com> wrote:

> The follow on work to adding the Cleaner is to replace uses of finalization 
> with uses of the Cleaner.
> For the 'easy' cases in the java.base module, it is useful to introduce a 
> private Cleaner for the
> java.base module.  It is proposed to be held weakly, to allow it to terminate 
> on a lightly loaded
> system.
> 
> Webrev for Review:
> http://cr.openjdk.java.net/~rriggs/webrev-cleaning-factory-8146028/

Looks ok Roger.  Does it make sense to put CleanerFactory, and maybe
CleanerImpl, into their own internal package, so that it can be used as a
JDK platform Cleaner ( rather than a base module only cleaner, or having
to qualify exports of jdk.internal.misc to other JDK modules ) ?

Is it possible of the NIO Buffers to use this Cleaner?

-Chris. 

Reply via email to