Module openj9.dtfj
Class DumpSegregatedStatsCommand
- java.lang.Object
-
- com.ibm.j9ddr.tools.ddrinteractive.Command
-
- com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.DumpSegregatedStatsCommand
-
-
Nested Class Summary
-
Nested classes/interfaces declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
Command.CommandDescription
-
-
Constructor Summary
Constructors Constructor Description DumpSegregatedStatsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFreeCellCount(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer heapRegionDescriptor)
Count the number of free cells in the MM_HeapRegionDescriptorSegregatedPointer freelistlong
getFreeCellCount(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionListPointer heapRegionList)
Count the number of free cells in the entire MM_HeapRegionListlong
getTotalRegions(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionListPointer heapRegionList)
Based off of MM_HeapRegionQueue::getTotalRegions.-
Methods declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
addCommand, addSubCommand, dbgFindPatternInRange, printDetailedHelp
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.tools.ddrinteractive.ICommand
getCommandDescriptions, getCommandNames, recognises, run
-
-
-
-
Method Detail
-
getTotalRegions
public long getTotalRegions(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionListPointer heapRegionList) throws CorruptDataException
Based off of MM_HeapRegionQueue::getTotalRegions. Returns the number of regions. This function will calculate the number of regions differently according to the type of the actual subclass.- Throws:
CorruptDataException
-
getFreeCellCount
public long getFreeCellCount(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionListPointer heapRegionList) throws CorruptDataException
Count the number of free cells in the entire MM_HeapRegionList- Throws:
CorruptDataException
-
getFreeCellCount
public long getFreeCellCount(com.ibm.j9ddr.vm29.pointer.generated.MM_HeapRegionDescriptorSegregatedPointer heapRegionDescriptor) throws CorruptDataException
Count the number of free cells in the MM_HeapRegionDescriptorSegregatedPointer freelist- Throws:
CorruptDataException
-
-