-
- All Known Implementing Classes:
LinearDumper
public interface IClassWalkCallbacks
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IClassWalkCallbacks.SlotType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSection(StructurePointer clazz, AbstractPointer address, long length, String name, boolean computePadding)
It is a high level section of an object walked.void
addSlot(StructurePointer clazz, IClassWalkCallbacks.SlotType type, AbstractPointer slotPtr, String slotName)
The information of one slot is sent back.void
addSlot(StructurePointer clazz, IClassWalkCallbacks.SlotType type, AbstractPointer slotPtr, String slotName, String additionalInfo)
The information of one slot is sent back.
-
-
-
Method Detail
-
addSlot
void addSlot(StructurePointer clazz, IClassWalkCallbacks.SlotType type, AbstractPointer slotPtr, String slotName, String additionalInfo) throws CorruptDataException
The information of one slot is sent back.- Parameters:
clazz
- the object walkedtype
- the type of the slot, it is a com.ibm.j9ddr.vm29.tools.ddrinteractive.TypeslotPtr
- an AbstractPointer of the slot currently walkedslotName
-additionalInfo
-- Throws:
CorruptDataException
-
addSlot
void addSlot(StructurePointer clazz, IClassWalkCallbacks.SlotType type, AbstractPointer slotPtr, String slotName) throws CorruptDataException
The information of one slot is sent back.- Parameters:
clazz
- the object walkedtype
- the type of the slot, it is a com.ibm.j9ddr.vm29.tools.ddrinteractive.TypeslotPtr
- an AbstractPointer of the slot currently walkedslotName
-- Throws:
CorruptDataException
-
addSection
void addSection(StructurePointer clazz, AbstractPointer address, long length, String name, boolean computePadding) throws CorruptDataException
It is a high level section of an object walked. If two sections have the same address, they will be nested- Parameters:
clazz
- the object walkedaddress
- starting address of the sectionlength
- length of the sectionname
-computePadding
- If true, compute the padding before and after this section- Throws:
CorruptDataException
-
-