Module openj9.dtfj

Class VmCheckCommand

  • All Implemented Interfaces:
    ICommand

    public class VmCheckCommand
    extends Command
    • Constructor Detail

      • VmCheckCommand

        public VmCheckCommand()
    • Method Detail

      • findSegmentInClassLoaderForAddress

        public com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentPointer findSegmentInClassLoaderForAddress​(com.ibm.j9ddr.vm29.pointer.generated.J9ClassLoaderPointer classLoader,
                                                                                                              com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClassPointer)
                                                                                                       throws CorruptDataException
        Based on vmchk/checkclasses.c function: findSegmentInClassLoaderForAddress This method searches classloader's segments to find out on which segment this ROMClass lays in.
        Parameters:
        classLoader - Classloader that romclass is being searched
        romClassPointer - ROMClass that is searched in classloader segments
        Returns:
        Classloader segment which has this romclass, otherwise null.
        Throws:
        CorruptDataException