- 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 UDATA
cellSize
protected GCHeapRegionDescriptor
headOfSpan
protected VoidPointer
highAddress
protected VoidPointer
lowAddress
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
memoryPool
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer
memorySubSpace
protected UDATA
regionsInSpan
protected long
regionType
protected UDATA
sizeClass
protected UDATA
typeFlags
-
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 boolean
containsObjects()
String
descriptionString()
UDATA
getCellSize()
GCHeapRegionDescriptor
getHeadOfSpan()
VoidPointer
getHighAddress()
Get the high address of this regionVoidPointer
getLowAddress()
Get the low address of this regioncom.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
getMemoryPool()
long
getRegionType()
UDATA
getSize()
UDATA
getSizeClass()
com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer
getSubSpace()
UDATA
getTypeFlags()
A helper to request the type flags from the Subspace associated with the receiving region.protected VoidPointer
getWalkableHighAddress()
boolean
hasValidMarkMap()
protected void
init()
boolean
isAddressInRegion(AbstractPointer address)
Determine if the specified address is in the regionboolean
isImmortal()
boolean
isScoped()
GCObjectHeapIterator
objectIterator(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:GCHeapRegionDescriptor
Create 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:GCHeapRegionDescriptor
Get the low address of this region- Specified by:
getLowAddress
in classGCHeapRegionDescriptor
- Returns:
- the lowest address in the region
-
getHighAddress
public VoidPointer getHighAddress()
Description copied from class:GCHeapRegionDescriptor
Get the high address of this region- Specified by:
getHighAddress
in classGCHeapRegionDescriptor
- Returns:
- the first address beyond the end of the region
-
getSize
public UDATA getSize()
- Specified by:
getSize
in classGCHeapRegionDescriptor
- Returns:
- The number of contiguous bytes represented by the receiver
-
getTypeFlags
public UDATA getTypeFlags()
Description copied from class:GCHeapRegionDescriptor
A helper to request the type flags from the Subspace associated with the receiving region.- Specified by:
getTypeFlags
in classGCHeapRegionDescriptor
- Returns:
- The type flags of the Subspace associated with this region
-
hasValidMarkMap
public boolean hasValidMarkMap()
- Specified by:
hasValidMarkMap
in classGCHeapRegionDescriptor
- Returns:
- true if the region has an up-to-date mark map
-
containsObjects
public boolean containsObjects()
- Specified by:
containsObjects
in classGCHeapRegionDescriptor
- Returns:
- true if the region contains objects
-
getWalkableHighAddress
protected VoidPointer getWalkableHighAddress() throws CorruptDataException
- Throws:
CorruptDataException
-
getRegionType
public long getRegionType()
- Specified by:
getRegionType
in classGCHeapRegionDescriptor
- Returns:
- this region's current type
-
getSubSpace
public com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer getSubSpace()
- Specified by:
getSubSpace
in classGCHeapRegionDescriptor
- Returns:
- the memory subspace associated with this region
-
getMemoryPool
public com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer getMemoryPool()
- Specified by:
getMemoryPool
in classGCHeapRegionDescriptor
- Returns:
- the memory subspace associated with this region
-
isAddressInRegion
public boolean isAddressInRegion(AbstractPointer address)
Description copied from class:GCHeapRegionDescriptor
Determine if the specified address is in the region- Specified by:
isAddressInRegion
in classGCHeapRegionDescriptor
- Returns:
- true if address is within the receiver, false otherwise
-
isImmortal
public boolean isImmortal()
- Specified by:
isImmortal
in classGCHeapRegionDescriptor
- Returns:
- true if the region is associated with a subspace with immortal memory type
-
isScoped
public boolean isScoped()
- Specified by:
isScoped
in classGCHeapRegionDescriptor
- Returns:
- true if the region is associated with a subspace with scoped memory type
-
getHeadOfSpan
public GCHeapRegionDescriptor getHeadOfSpan()
- Specified by:
getHeadOfSpan
in classGCHeapRegionDescriptor
- Returns:
- in a spanning region, return to the HEAD of the span; in non-spanning region return this
-
descriptionString
public String descriptionString()
-
-