java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.HeapWalker
- All Implemented Interfaces:
IEventListener
-
Constructor Summary
ConstructorDescriptionHeapWalker
(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm, GCHeapRegionDescriptor hrd, HeapWalkerEvents sink) -
Method Summary
Modifier and TypeMethodDescriptionvoid
corruptData
(String message, CorruptDataException e, boolean fatal) Raised when corrupt data is encountered.static SortedSet<ObjectMonitor>
Returns a lazily-initialized list of flat-locked object monitors.boolean
hasNext()
void
walk()
-
Constructor Details
-
HeapWalker
public HeapWalker(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm, GCHeapRegionDescriptor hrd, HeapWalkerEvents sink) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
hasNext
public boolean hasNext() -
walk
public void walk() -
getFlatLockedMonitors
Returns a lazily-initialized list of flat-locked object monitors. Will run initialization if it hasn't already been performed.- Returns:
- List of flat-locked object monitors
- Throws:
CorruptDataException
-
corruptData
Description copied from interface:IEventListener
Raised when corrupt data is encountered.- Specified by:
corruptData
in interfaceIEventListener
- Parameters:
message
- text message related to the corrupt data exceptione
- the corrupt data exception
-