RFR: JDK-8149925 We don't need jdk.internal.ref.Cleaner any more

Peter Levart peter.levart at gmail.com
Fri Apr 1 16:37:13 UTC 2016

On 04/01/2016 05:18 PM, Peter Levart wrote:
> So I'm going to propose a solution for #1 while still keeping the rest 
> of webrev unchanged for now and will try to address other issuer 
> later. Here's new webrev:
> http://cr.openjdk.java.net/~plevart/jdk9-dev/removeInternalCleaner/webrev.12.part2/
> ...the only change from webrev.11.part2 is in CleanerFactory and 
> Direct-X-Buffer template. There are now two lazily initialized Cleaner 
> instances. A dbbCleaner() which is used only for DirectByteBuffer(s) 
> and has extended functionality and a common cleaner() which is used 
> for all other purposes in JDK and doesn't have the extended functionality.

Here's also a diff between webrev.11.part2 and webrev.12.part2 for 
easier reviewing:


Regards, Peter

More information about the core-libs-dev mailing list