Class GCHeapLinkedFreeHeader
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCHeapLinkedFreeHeader
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer
-
Constructor Summary
ModifierConstructorDescriptionprotected
GCHeapLinkedFreeHeader
(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer heapLinkedFreeHeaderPointer) protected
GCHeapLinkedFreeHeader
(UDATA udata) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCHeapLinkedFreeHeader
fromJ9Object
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) Factory method to construct an appropriate heap linked free headerstatic GCHeapLinkedFreeHeader
fromLinkedFreeHeaderPointer
(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer heapLinkedFreeHeaderPointer) com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer
abstract GCHeapLinkedFreeHeader
getNext()
Get the next HeapLinkedFreeHeader in the free list.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
Get the object represented by this free list entry.abstract UDATA
getSize()
Get the size in bytes of this free entry.
-
Field Details
-
heapLinkedFreeHeaderPointer
protected com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer heapLinkedFreeHeaderPointer
-
-
Constructor Details
-
GCHeapLinkedFreeHeader
- Throws:
CorruptDataException
-
GCHeapLinkedFreeHeader
protected GCHeapLinkedFreeHeader(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer heapLinkedFreeHeaderPointer)
-
-
Method Details
-
fromJ9Object
public static GCHeapLinkedFreeHeader fromJ9Object(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) throws CorruptDataException Factory method to construct an appropriate heap linked free header- Parameters:
object
- the "J9Object" structure to view as a HeapLinkedFreeHeader- Returns:
- an instance of GCHeapLinkedFreeHeader
- Throws:
CorruptDataException
-
fromLinkedFreeHeaderPointer
public static GCHeapLinkedFreeHeader fromLinkedFreeHeaderPointer(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer heapLinkedFreeHeaderPointer) -
getSize
Get the size in bytes of this free entry. The size is measured from the beginning of the header.- Returns:
- size in bytes
- Throws:
CorruptDataException
-
getNext
Get the next HeapLinkedFreeHeader in the free list.- Returns:
- size in bytes
- Throws:
CorruptDataException
-
getObject
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getObject()Get the object represented by this free list entry.- Returns:
- object the free list entry cast to a J9ObjectPointer
-
getHeader
public com.ibm.j9ddr.vm29.pointer.generated.MM_HeapLinkedFreeHeaderPointer getHeader()
-