Promptly cleaning direct ByteBuffer(s) - was: Re: RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization

Andrew Haley aph at
Wed Nov 25 15:57:40 UTC 2015

On 11/25/2015 03:45 PM, Roger Riggs wrote:
> Prompt cleanup can't rely on GC.

Yes, that's the key.  If people need prompt cleanup, they *really* need it
because they've run out of memory or address space.  Best effort won't do it.


More information about the core-libs-dev mailing list