RFR: JDK-8149925 We don't need jdk.internal.ref.Cleaner any more
Alan Bateman
Alan.Bateman at oracle.com
Tue Feb 23 15:33:57 UTC 2016
On 22/02/2016 21:41, Mandy Chung wrote:
> :
>> I added new method to Cleaner:
>>
>> public boolean helpClean() { }
>>
> I’m in two minds of making this a public method. An explicit way to enqueue pending references as well as invoke Cleanable::clean. If it goes in, the method name needs to be renamed.
>
I'm also not sure that it's a good idea to have this be part of the
Cleaner API. If feels like it's exposing too much of the internals. Is
it really needed?
-Alan.
More information about the core-libs-dev
mailing list