java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intinvalid input: '<' address ordered doubly linked list for auxiliary heap regionsprotected com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointerprotected VoidPointerinvalid input: '<' the first (lowest address) byte of heap which is addressable by the tableprotected VoidPointerinvalid input: '<' number of heap regions on the fixed-sized table (_regionTable)protected UDATAinvalid input: '<' the size, in bytes, of a region in the _regionTableprotected UDATAinvalid input: '<' number of heap regions on the auxiliary listprotected GCHeapRegionDescriptor[]invalid input: '<' the shift value to use against pointers to determine the corresponding region indexprotected UDATAinvalid input: '<' the first byte AFTER the heap range which is addressable by the tableprotected intinvalid input: '<' the raw array of fixed-sized regions for representing a flat heapprotected UDATAinvalid input: '<' The size, in bytes, of the HeapRegionDescriptor subclass used by this managerprotected static GCHeapRegionManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGCHeapRegionManager(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointer hrm) invalid input: '<' The size, in bytes, of all currently active regions on the heap (that is, both table descriptors attached to subspaces and aux descriptors in the list) -
Method Summary
Modifier and TypeMethodDescriptionauxiliaryDescriptorForAddress(AbstractPointer heapAddress) static GCHeapRegionManagerfromHeapRegionManager(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointer hrm) intprotected voidprotected voidphysicalTableDescriptorForIndex(int regionIndex) protected intphysicalTableDescriptorIndexForAddress(AbstractPointer heapAddress) regionDescriptorForAddress(AbstractPointer heapAddress) tableDescriptorForAddress(AbstractPointer heapAddress) tableDescriptorForIndex(int regionIndex)
-
Field Details
-
singleton
-
_heapRegionManager
protected com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointer _heapRegionManager -
_auxRegionCount
protected int _auxRegionCountinvalid input: '<' address ordered doubly linked list for auxiliary heap regions -
_regionSize
invalid input: '<' number of heap regions on the auxiliary list -
_regionShift
invalid input: '<' the size, in bytes, of a region in the _regionTable -
_regionTable
invalid input: '<' the shift value to use against pointers to determine the corresponding region index -
_tableRegionCount
protected int _tableRegionCountinvalid input: '<' the raw array of fixed-sized regions for representing a flat heap -
_lowTableEdge
invalid input: '<' number of heap regions on the fixed-sized table (_regionTable) -
_highTableEdge
invalid input: '<' the first (lowest address) byte of heap which is addressable by the table -
_tableDescriptorSize
invalid input: '<' the first byte AFTER the heap range which is addressable by the table -
_totalHeapSize
invalid input: '<' The size, in bytes, of the HeapRegionDescriptor subclass used by this manager
-
-
Constructor Details
-
GCHeapRegionManager
protected GCHeapRegionManager(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointer hrm) throws CorruptDataException invalid input: '<' The size, in bytes, of all currently active regions on the heap (that is, both table descriptors attached to subspaces and aux descriptors in the list)- Throws:
CorruptDataException
-
-
Method Details
-
fromHeapRegionManager
public static GCHeapRegionManager fromHeapRegionManager(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionManagerPointer hrm) throws CorruptDataException - Throws:
CorruptDataException
-
initializeAuxRegionDescriptors
- Throws:
CorruptDataException
-
initializeTableRegionDescriptors
- Throws:
CorruptDataException
-
getTotalHeapSize
-
getRegionSize
-
getTableRegionCount
public int getTableRegionCount() -
getHeapSize
-
getAuxiliaryRegions
- Throws:
CorruptDataException
-
getTableRegions
- Throws:
CorruptDataException
-
regionDescriptorForAddress
-
auxiliaryDescriptorForAddress
-
tableDescriptorForIndex
-
physicalTableDescriptorForIndex
-
physicalTableDescriptorIndexForAddress
-
tableDescriptorForAddress
-