public final class MemoryUnmapper extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
unmap(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(ByteBuffer buffer)
SysProperties.NIO_CLEANER_HACK is enabled and
access is not denied by a security manager.buffer - mapped byte bufferCopyright © 2022. All rights reserved.