java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCVMThreadListIterator
- All Implemented Interfaces:
SlotIterator,Iterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointerprotected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GCVMThreadListIteratorfrom()Factory method to construct an appropriate vm thread list iterator.booleanhasNext()Returnstrueif the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointernext()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
-
initialVMThread
protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer initialVMThread -
currentVMThread
protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer currentVMThread -
consumedInitial
protected boolean consumedInitial
-
-
Constructor Details
-
GCVMThreadListIterator
- Throws:
CorruptDataException
-
-
Method Details
-
from
Factory method to construct an appropriate vm thread list iterator.- Type Parameters:
T-- Parameters:
structure- the J9JavaVM- Returns:
- an instance of GCVMThreadListIterator
- 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.J9VMThreadPointer next()Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Returns:
- the next element in the iteration
-
nextAddress
-