| Modifier and Type | Class and Description |
|---|---|
class |
AllocMemory
The AllocMemory class is a subclass of NativeMemory and is used to allocate direct, off-heap
native memory, which is then accessed by the NativeMemory methods.
|
class |
MemoryMappedFile
MemoryMappedFile class extends NativeMemory and is used to memory map files (including those >
2GB) off heap.
|
| Modifier and Type | Method and Description |
|---|---|
NativeMemory |
NativeMemory.getNativeMemory() |
NativeMemory |
MemoryRegionR.getNativeMemory() |
NativeMemory |
MemoryRegion.getNativeMemory() |
NativeMemory |
Memory.getNativeMemory()
Returns the root NativeMemory, which could also be the derived MemoryMappedFile or AllocMemory.
|
| Constructor and Description |
|---|
AllocMemory(NativeMemory origMem,
long copyToBytes,
long capacityBytes,
MemoryRequest memReq)
Constructor for allocate native memory, copy and clear.
|
AllocMemory(NativeMemory origMem,
long newCapacityBytes,
MemoryRequest memReq)
Constructor for reallocate native memory.
|
Copyright © 2015–2016 Yahoo! Inc.. All rights reserved.