On Sat, 23 Nov 2024 18:31:11 GMT, Alan Bateman <al...@openjdk.org> wrote:
> While you are there, can you also look into not creating a Cleaner for the > temporary direct buffers? They are explicitly deallocated when they can't be > returned to the TL cache or when the thread terminates (there is a hook in > thread exit for this). At present the explicit deallocation uses the cleaner: private static void free(ByteBuffer buf) { ((DirectBuffer)buf).cleaner().clean(); } ------------- PR Comment: https://git.openjdk.org/jdk/pull/22339#issuecomment-2498608413