public final class MemoryUnmapper
extends java.lang.Object
SysProperties.NIO_CLEANER_HACK| Modifier and Type | Method and Description |
|---|---|
static boolean |
unmap(java.nio.ByteBuffer buffer)
Tries to unmap memory for the specified byte buffer using Java internals
in unsafe way if
SysProperties.NIO_CLEANER_HACK is enabled and
access is not denied by a security manager. |
public static boolean unmap(java.nio.ByteBuffer buffer)
SysProperties.NIO_CLEANER_HACK is enabled and
access is not denied by a security manager.buffer - mapped byte buffer