java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCMonitorReferenceIterator
- All Implemented Interfaces:
SlotIterator,Iterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the monitor table that is being iterated overstatic GCMonitorReferenceIteratorfrom()booleanhasNext()Returnstrueif the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointernext()Returns the next element in the iteration.Methods declared in class com.ibm.j9ddr.vm29.j9.gc.GCBase
getExtensions, getJavaVMMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
iterator
-
-
Constructor Details
-
GCMonitorReferenceIterator
- Throws:
CorruptDataException
-
-
Method Details
-
from
- Throws:
CorruptDataException
-
hasNext
public boolean hasNext()Description copied from interface:java.util.IteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIterator.next()would return an element rather than throwing an exception.)- Returns:
trueif the iteration has more elements
-
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer next()Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Returns:
- the next element in the iteration
-
currentMonitorTable
Returns the monitor table that is being iterated over- Returns:
- the monitor table being iterated over
-
nextAddress
-