| Modifier | Constructor and Description |
|---|---|
protected |
Heap() |
| Modifier and Type | Method and Description |
|---|---|
abstract PinnedAllocator |
createPinnedAllocator()
Create a PinnedAllocator.
|
abstract void |
disableAllocation(org.graalvm.nativeimage.IsolateThread vmThread) |
abstract List<Class<?>> |
getClassList()
Return a list of all the classes in the heap.
|
abstract GC |
getGC() |
static Heap |
getHeap()
Retuns the singleton
Heap implementation that is created during image generation. |
abstract MemoryMXBean |
getMemoryMXBean()
Get the MemoryMXBean for this heap.
|
abstract ObjectHeader |
getObjectHeader()
Get the ObjectHeader implementation that this Heap uses.
|
abstract boolean |
isAllocationDisallowed()
Allocation is disallowed if ...
|
abstract void |
resumeAllocation() |
abstract void |
suspendAllocation() |
abstract void |
tearDown()
Tear down the heap, return all allocated virtual memory chunks to VirtualMemoryProvider.
|
abstract void |
walkObjects(ObjectVisitor visitor)
Walk all the Objects in the Heap, passing each to the visitor.
|
public static Heap getHeap()
Heap implementation that is created during image generation.public abstract void suspendAllocation()
public abstract void resumeAllocation()
public abstract void disableAllocation(org.graalvm.nativeimage.IsolateThread vmThread)
public abstract boolean isAllocationDisallowed()
public abstract PinnedAllocator createPinnedAllocator()
public abstract GC getGC()
public abstract void walkObjects(ObjectVisitor visitor)
public abstract List<Class<?>> getClassList()
public abstract ObjectHeader getObjectHeader()
public abstract MemoryMXBean getMemoryMXBean()
public abstract void tearDown()