Class DirectByteBufferDeallocator

    • Method Detail

      • free

        public static void free​(ByteBuffer buffer)
        Attempts to deallocate the underlying direct memory. This is a no-op for buffers where ByteBuffer.isDirect() returns false.
        Parameters:
        buffer - to deallocate