- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.gc.GCMemoryPool
-
- Direct Known Subclasses:
GCMemoryPoolAddressOrderedList
,GCMemoryPoolAggregatedCellList
,GCMemoryPoolSplitAddressOrderedList
public abstract class GCMemoryPool extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GCMemoryPool.MemoryPoolType
-
Field Summary
Fields Modifier and Type Field Description protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
_memoryPool
protected GCMemoryPool.MemoryPoolType
_memoryPoolType
protected String
_poolName
protected GCHeapRegionDescriptor
_region
-
Constructor Summary
Constructors Constructor Description GCMemoryPool(GCHeapRegionDescriptor region, com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkFreeLists(IEventListener listener)
protected void
freeEntryCheckGeneric(GCHeapLinkedFreeHeader freeListEntry)
Check individual entries.static GCMemoryPool
fromMemoryPoolPointerInRegion(GCHeapRegionDescriptor region, com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool)
com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer
getMemoryPoolPointer()
String
getPoolName()
GCHeapRegionDescriptor
getRegion()
GCMemoryPool.MemoryPoolType
getType()
-
-
-
Field Detail
-
_poolName
protected String _poolName
-
_memoryPoolType
protected GCMemoryPool.MemoryPoolType _memoryPoolType
-
_region
protected GCHeapRegionDescriptor _region
-
_memoryPool
protected com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer _memoryPool
-
-
Constructor Detail
-
GCMemoryPool
public GCMemoryPool(GCHeapRegionDescriptor region, com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool) throws CorruptDataException
- Throws:
CorruptDataException
-
-
Method Detail
-
fromMemoryPoolPointerInRegion
public static GCMemoryPool fromMemoryPoolPointerInRegion(GCHeapRegionDescriptor region, com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer memoryPool) throws CorruptDataException
- Throws:
CorruptDataException
-
getType
public GCMemoryPool.MemoryPoolType getType()
-
getPoolName
public String getPoolName()
-
getRegion
public GCHeapRegionDescriptor getRegion()
-
getMemoryPoolPointer
public com.ibm.j9ddr.vm29.pointer.generated.MM_MemoryPoolPointer getMemoryPoolPointer()
-
freeEntryCheckGeneric
protected void freeEntryCheckGeneric(GCHeapLinkedFreeHeader freeListEntry) throws CorruptDataException, CorruptFreeEntryException
Check individual entries. This check is the same for ALL collectors- Parameters:
freeListEntry
- A structure to a free entry for all collectors (except Balanced)- Throws:
CorruptFreeEntryException
- This needs to be caught by a listener to be of any useCorruptDataException
-
checkFreeLists
public void checkFreeLists(IEventListener listener)
-
-