java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptorSegregated_V1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected UDATAprotected GCHeapRegionDescriptorprotected VoidPointerprotected VoidPointerprotected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointerprotected com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointerprotected UDATAprotected longprotected UDATAprotected UDATAFields declared in class com.ibm.j9ddr.vm29.j9.gc.GCHeapRegionDescriptor
heapRegionDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionGCHeapRegionDescriptorSegregated_V1(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer region) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the high address of this regionGet the low address of this regioncom.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointerlonggetSize()com.ibm.j9ddr.vm29.pointer.generated.MM_MemorySubSpacePointerA helper to request the type flags from the Subspace associated with the receiving region.protected VoidPointerbooleanprotected voidinit()booleanisAddressInRegion(AbstractPointer address) Determine if the specified address is in the regionbooleanbooleanisScoped()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: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
- Throws:
CorruptDataException
-
getLowAddress
Description copied from class:GCHeapRegionDescriptorGet the low address of this region- Specified by:
getLowAddressin classGCHeapRegionDescriptor- Returns:
- the lowest address in the region
-
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
- Specified by:
getSizein classGCHeapRegionDescriptor- Returns:
- The number of contiguous bytes represented by the receiver
-
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
- 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
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
- Specified by:
getHeadOfSpanin classGCHeapRegionDescriptor- Returns:
- in a spanning region, return to the HEAD of the span; in non-spanning region return this
-
descriptionString
-