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

Alan Bateman alanb at openjdk.org
Mon Feb 24 07:28:08 UTC 2025


On Mon, 24 Feb 2025 06:10:39 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> And here is a bug and recently opened PR that would benefit from having Cleaner.waitForCleaning. 

If you are suggesting exposing this as a public API then I don't think we should do this, I actually think it's time to consider deprecating Cleaner but that is a bigger discussion.

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

PR Comment: https://git.openjdk.org/jdk/pull/22165#issuecomment-2677612532


More information about the core-libs-dev mailing list