Class RomClassWalker
java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.ClassWalker
com.ibm.j9ddr.vm29.tools.ddrinteractive.RomClassWalker
Walk every slot and sections of a ROMClass.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields declared in class ClassWalker
classWalkerCallback, clazz, debugExtMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallSlotsInObjectDo(IClassWalkCallbacks classWalker) Walks every slots in an object and send the values to the classWalkerMethods declared in class ClassWalker
addObjectsasSlot, addObjectsAsSlot, fillDebugExtMap, getClassWalkerCallbacks, getClazz, getDebugExtForMethodNameModifier and TypeMethodDescriptionprotected voidaddObjectsasSlot(StructurePointer methodClass) protected voidaddObjectsAsSlot(StructurePointer methodClass, HashMap<String, String> renameFields) It walks through each field in this structure that is represented by methodClass and registers each field as a slot into ClassWalkerCallBack It uses the StructureDescriptor of J9DDR to get the FieldDescriptor of a structure.protected voidgetClazz()protected StringgetDebugExtForMethodName(String methodName)
-
Field Details
-
CFR_STACKMAP_TYPE_OBJECT
public static final int CFR_STACKMAP_TYPE_OBJECT- See Also:
-
CFR_STACKMAP_SAME
public static final int CFR_STACKMAP_SAME- See Also:
-
CFR_STACKMAP_SAME_LOCALS_1_STACK
public static final int CFR_STACKMAP_SAME_LOCALS_1_STACK- See Also:
-
CFR_STACKMAP_SAME_LOCALS_1_STACK_END
public static final int CFR_STACKMAP_SAME_LOCALS_1_STACK_END- See Also:
-
CFR_STACKMAP_EARLY_LARVAL
public static final int CFR_STACKMAP_EARLY_LARVAL- See Also:
-
CFR_STACKMAP_SAME_LOCALS_1_STACK_EXTENDED
public static final int CFR_STACKMAP_SAME_LOCALS_1_STACK_EXTENDED- See Also:
-
CFR_STACKMAP_SAME_EXTENDED
public static final int CFR_STACKMAP_SAME_EXTENDED- See Also:
-
CFR_STACKMAP_APPEND_BASE
public static final int CFR_STACKMAP_APPEND_BASE- See Also:
-
CFR_STACKMAP_FULL
public static final int CFR_STACKMAP_FULL- See Also:
-
-
Constructor Details
-
RomClassWalker
-
-
Method Details
-
getContext
-
allSlotsInObjectDo
Description copied from class:ClassWalkerWalks every slots in an object and send the values to the classWalker- Specified by:
allSlotsInObjectDoin classClassWalker- Parameters:
classWalker- a class that will receive the slot and sections of the object- Throws:
CorruptDataException
-