- java.lang.Object
-
- com.ibm.j9ddr.tools.ddrinteractive.Command
-
- com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.VmCheckCommand
-
-
Nested Class Summary
-
Nested classes/interfaces declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
Command.CommandDescription
-
-
Constructor Summary
Constructors Constructor Description VmCheckCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentPointer
findSegmentInClassLoaderForAddress(com.ibm.j9ddr.vm29.pointer.generated.J9ClassLoaderPointer classLoader, com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClassPointer)
Based on vmchk/checkclasses.c function: findSegmentInClassLoaderForAddress This method searches classloader's segments to find out on which segment this ROMClass lays in.-
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
-
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 searchedromClassPointer
- ROMClass that is searched in classloader segments- Returns:
- Classloader segment which has this romclass, otherwise null.
- Throws:
CorruptDataException
-
-