java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCVMThreadSlotIterator
- All Implemented Interfaces:
SlotIterator
,Iterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected Iterator<StructurePointer.StructureField>
protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer
-
Constructor Summary
ModifierConstructorDescriptionprotected
GCVMThreadSlotIterator
(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCVMThreadSlotIterator
fromJ9VMThread
(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) boolean
hasNext()
Returnstrue
if the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
next()
Returns the next element in the iteration.Methods declared in class com.ibm.j9ddr.vm29.j9.gc.GCBase
getExtensions, getJavaVM
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
-
Field Details
-
vmThread
protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread -
slotIterator
-
-
Constructor Details
-
GCVMThreadSlotIterator
protected GCVMThreadSlotIterator(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread)
-
-
Method Details
-
fromJ9VMThread
public static GCVMThreadSlotIterator fromJ9VMThread(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) throws CorruptDataException - Throws:
CorruptDataException
-
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.)- Returns:
true
if the iteration has more elements
-
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer next()Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Returns:
- the next element in the iteration
-
nextAddress
-