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:
http://cr.openjdk.java.net/~plevart/jdk9-dev/removeInternalCleaner/webrev.diff.11to12.part2/
Regards, Peter