Module openj9.dtfj

Class DumpSegregatedStatsCommand

  • All Implemented Interfaces:
    ICommand

    public class DumpSegregatedStatsCommand
    extends Command
    • Constructor Detail

      • DumpSegregatedStatsCommand

        public DumpSegregatedStatsCommand()
    • 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