Class HeapWalker
java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.HeapWalker
- All Implemented Interfaces:
 IEventListener
- 
Constructor Summary
ConstructorsConstructorDescriptionHeapWalker(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm, GCHeapRegionDescriptor hrd, HeapWalkerEvents sink)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcorruptData(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.booleanhasNext()voidwalk() 
- 
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:IEventListenerRaised when corrupt data is encountered.- Specified by:
 corruptDatain interfaceIEventListener- Parameters:
 message- text message related to the corrupt data exceptione- the corrupt data exception
 
 -