RFR: 8344332: (bf) Migrate DirectByteBuffer to use java.lang.ref.Cleaner [v13]
Kim Barrett
kbarrett at openjdk.org
Mon Feb 24 09:33:06 UTC 2025
On Mon, 24 Feb 2025 07:25:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> If you are suggesting exposing this as a public API then I don't think we should do this,
Not at this time, quite possibly never. As mentioned, I made some things public for ease of prototyping.
I even commented it as such.
> I actually think it's time to consider deprecating Cleaner but that is a bigger discussion.
Which "Cleaner" are you referring to? If jdk.internal.ref.Cleaner, this PR proposes to remove it.
If java.lang.ref.Cleaner, then why?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22165#issuecomment-2677851956
More information about the core-libs-dev
mailing list