java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.j9.HeapObjectIterator
- All Implemented Interfaces:
HeapWalkerEvents
,Iterator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
doDeadObject
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) void
doLiveObject
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer ptr) void
doSectionEnd
(long address) void
doSectionStart
(long address) boolean
hasNext()
Returnstrue
if the iteration has more elements.next()
Returns the next element in the iteration.Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
HeapObjectIterator
public HeapObjectIterator(DTFJJavaHeap heap, GCHeapRegionDescriptor region) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:java.util.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.) -
doDeadObject
public void doDeadObject(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) - Specified by:
doDeadObject
in interfaceHeapWalkerEvents
-
doLiveObject
public void doLiveObject(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer ptr) - Specified by:
doLiveObject
in interfaceHeapWalkerEvents
-
doSectionEnd
public void doSectionEnd(long address) - Specified by:
doSectionEnd
in interfaceHeapWalkerEvents
-
doSectionStart
public void doSectionStart(long address) - Specified by:
doSectionStart
in interfaceHeapWalkerEvents
-
next
Description copied from interface:java.util.Iterator
Returns the next element in the iteration. -
doCorruptData
- Specified by:
doCorruptData
in interfaceHeapWalkerEvents
-