RFR: 8344332: (bf) Migrate DirectByteBuffer to use java.lang.ref.Cleaner [v11]

Kim Barrett kbarrett at openjdk.org
Fri Feb 14 06:29:25 UTC 2025


On Mon, 10 Feb 2025 09:28:45 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> @AlanBateman I've not done any work on JDK-8305186.  There has also been discussion about making
>> that function non-private or even public (though with concerns about specification difficulty) for use in
>> places like this.
>> 
>> @shipilev I'm working on a reply, but it might be long-ish.  That outpacing issue for some tests is why this
>> code wasn't switched away from jdk.internal.ref.Cleaner a long time ago.  I'm still looking at it, but I currently
>> don't think the canary provides a reliable solution to that.
>
> I would like to integrate this PR. How are you doing, @kimbarrett? Have you found any major holes in it?

@shipilev I've been having computer issues.  I'm back to looking at this.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22165#discussion_r1955619941


More information about the core-libs-dev mailing list