Class GCHeapRegionDescriptorSegregated_V1
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptorSegregated_V1
-
Field Summary
Modifier and TypeFieldDescriptionprotected UDATA
protected GCHeapRegionDescriptor
protected VoidPointer
protected VoidPointer
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer
protected UDATA
protected long
protected UDATA
protected UDATA
Fields declared in class com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
heapRegionDescriptor
-
Constructor Summary
ConstructorDescriptionGCHeapRegionDescriptorSegregated_V1
(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer region) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the high address of this regionGet the low address of this regioncom.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
long
getSize()
com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer
A helper to request the type flags from the Subspace associated with the receiving region.protected VoidPointer
boolean
protected void
init()
boolean
isAddressInRegion
(AbstractPointer address) Determine if the specified address is in the regionboolean
boolean
isScoped()
objectIterator
(boolean includeLiveObjects, boolean includeDeadObjects) Create an iterator which iterates over all objects (if any) in the regionMethods declared in class com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
fromHeapRegionDescriptor, fromHeapRegionDescriptor, getHeapRegionDescriptorPointer
-
Field Details
-
sizeClass
-
cellSize
-
lowAddress
-
highAddress
-
regionsInSpan
-
regionType
protected long regionType -
typeFlags
-
memorySubSpace
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointer memorySubSpace -
memoryPool
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool -
headOfSpan
-
-
Constructor Details
-
GCHeapRegionDescriptorSegregated_V1
public GCHeapRegionDescriptorSegregated_V1(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer region) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
getSizeClass
-
getCellSize
- 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
- Throws:
CorruptDataException
-
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
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
- Specified by:
getSize
in classGCHeapRegionDescriptor
- Returns:
- The number of contiguous bytes represented by the receiver
-
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
- 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
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
- Specified by:
getHeadOfSpan
in classGCHeapRegionDescriptor
- Returns:
- in a spanning region, return to the HEAD of the span; in non-spanning region return this
-
descriptionString
-