- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
-
- com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptorSegregated_V1
-
public class GCHeapRegionDescriptorSegregated_V1 extends GCHeapRegionDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected UDATAcellSizeprotected GCHeapRegionDescriptorheadOfSpanprotected VoidPointerhighAddressprotected VoidPointerlowAddressprotected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointermemoryPoolprotected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointermemorySubSpaceprotected UDATAregionsInSpanprotected longregionTypeprotected UDATAsizeClassprotected UDATAtypeFlags-
Fields declared in class com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
heapRegionDescriptor
-
-
Constructor Summary
Constructors Constructor Description GCHeapRegionDescriptorSegregated_V1(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsObjects()StringdescriptionString()UDATAgetCellSize()GCHeapRegionDescriptorgetHeadOfSpan()VoidPointergetHighAddress()Get the high address of this regionVoidPointergetLowAddress()Get the low address of this regioncom.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointergetMemoryPool()longgetRegionType()UDATAgetSize()UDATAgetSizeClass()com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointergetSubSpace()UDATAgetTypeFlags()A helper to request the type flags from the Subspace associated with the receiving region.protected VoidPointergetWalkableHighAddress()booleanhasValidMarkMap()protected voidinit()booleanisAddressInRegion(AbstractPointer address)Determine if the specified address is in the regionbooleanisImmortal()booleanisScoped()GCObjectHeapIteratorobjectIterator(boolean includeLiveObjects, boolean includeDeadObjects)Create an iterator which iterates over all objects (if any) in the region-
Methods declared in class com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
fromHeapRegionDescriptor, fromHeapRegionDescriptor, getHeapRegionDescriptorPointer
-
-
-
-
Field Detail
-
sizeClass
protected UDATA sizeClass
-
cellSize
protected UDATA cellSize
-
lowAddress
protected VoidPointer lowAddress
-
highAddress
protected VoidPointer highAddress
-
regionsInSpan
protected UDATA regionsInSpan
-
regionType
protected long regionType
-
typeFlags
protected UDATA typeFlags
-
memorySubSpace
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer memorySubSpace
-
memoryPool
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool
-
headOfSpan
protected GCHeapRegionDescriptor headOfSpan
-
-
Constructor Detail
-
GCHeapRegionDescriptorSegregated_V1
public GCHeapRegionDescriptorSegregated_V1(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer region) throws CorruptDataException- Throws:
CorruptDataException
-
-
Method Detail
-
getSizeClass
public UDATA getSizeClass()
-
getCellSize
public UDATA getCellSize() throws CorruptDataException
- Throws:
CorruptDataException
-
objectIterator
public GCObjectHeapIterator objectIterator(boolean includeLiveObjects, boolean includeDeadObjects) throws CorruptDataException
Description copied from class:GCHeapRegionDescriptorCreate an iterator which iterates over all objects (if any) in the region- Returns:
- an GCObjectHeapIterator which iterates over all objects in the region
- Throws:
CorruptDataException
-
init
protected void init() throws CorruptDataException- Throws:
CorruptDataException
-
getLowAddress
public VoidPointer getLowAddress()
Description copied from class:GCHeapRegionDescriptorGet the low address of this region- Specified by:
getLowAddressin classGCHeapRegionDescriptor- Returns:
- the lowest address in the region
-
getHighAddress
public VoidPointer getHighAddress()
Description copied from class:GCHeapRegionDescriptorGet the high address of this region- Specified by:
getHighAddressin classGCHeapRegionDescriptor- Returns:
- the first address beyond the end of the region
-
getSize
public UDATA getSize()
- Specified by:
getSizein classGCHeapRegionDescriptor- Returns:
- The number of contiguous bytes represented by the receiver
-
getTypeFlags
public UDATA getTypeFlags()
Description copied from class:GCHeapRegionDescriptorA helper to request the type flags from the Subspace associated with the receiving region.- Specified by:
getTypeFlagsin classGCHeapRegionDescriptor- Returns:
- The type flags of the Subspace associated with this region
-
hasValidMarkMap
public boolean hasValidMarkMap()
- Specified by:
hasValidMarkMapin classGCHeapRegionDescriptor- Returns:
- true if the region has an up-to-date mark map
-
containsObjects
public boolean containsObjects()
- Specified by:
containsObjectsin classGCHeapRegionDescriptor- Returns:
- true if the region contains objects
-
getWalkableHighAddress
protected VoidPointer getWalkableHighAddress() throws CorruptDataException
- Throws:
CorruptDataException
-
getRegionType
public long getRegionType()
- Specified by:
getRegionTypein classGCHeapRegionDescriptor- Returns:
- this region's current type
-
getSubSpace
public com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer getSubSpace()
- Specified by:
getSubSpacein classGCHeapRegionDescriptor- Returns:
- the memory subspace associated with this region
-
getMemoryPool
public com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer getMemoryPool()
- Specified by:
getMemoryPoolin classGCHeapRegionDescriptor- Returns:
- the memory subspace associated with this region
-
isAddressInRegion
public boolean isAddressInRegion(AbstractPointer address)
Description copied from class:GCHeapRegionDescriptorDetermine if the specified address is in the region- Specified by:
isAddressInRegionin classGCHeapRegionDescriptor- Returns:
- true if address is within the receiver, false otherwise
-
isImmortal
public boolean isImmortal()
- Specified by:
isImmortalin classGCHeapRegionDescriptor- Returns:
- true if the region is associated with a subspace with immortal memory type
-
isScoped
public boolean isScoped()
- Specified by:
isScopedin classGCHeapRegionDescriptor- Returns:
- true if the region is associated with a subspace with scoped memory type
-
getHeadOfSpan
public GCHeapRegionDescriptor getHeadOfSpan()
- Specified by:
getHeadOfSpanin classGCHeapRegionDescriptor- Returns:
- in a spanning region, return to the HEAD of the span; in non-spanning region return this
-
descriptionString
public String descriptionString()
-
-