java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCVMThreadIterator
- All Implemented Interfaces:
SlotIterator,Iterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intstatic final intstatic final intstatic final intstatic final intstatic final intprotected GCVMThreadJNISlotIteratorprotected GCVMThreadMonitorRecordSlotIteratorprotected GCVMThreadSlotIteratorprotected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGCVMThreadIterator(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCVMThreadIteratorfromJ9VMThread(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) intgetState()com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointerbooleanhasNext()Returnstrueif the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointernext()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
-
state_start
public static final int state_start- See Also:
-
state_slots
public static final int state_slots- See Also:
-
state_jni_slots
public static final int state_jni_slots- See Also:
-
state_monitor_records
public static final int state_monitor_records- See Also:
-
state_end
public static final int state_end- See Also:
-
state
protected int state -
threadSlotIterator
-
threadJNISlotIterator
-
threadMonitorRecordSlotIterator
-
vmThread
protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread
-
-
Constructor Details
-
GCVMThreadIterator
protected GCVMThreadIterator(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
fromJ9VMThread
public static GCVMThreadIterator fromJ9VMThread(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) throws CorruptDataException - 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.J9ObjectPointer next()Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Returns:
- the next element in the iteration
-
nextAddress
-
getState
public int getState() -
getThread
public com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer getThread()
-