Class GCClassIterator
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCClassIterator
- All Implemented Interfaces:
SlotIterator, Iterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointerprotected GCConstantPoolObjectSlotIteratorprotected intstatic final intstatic final intstatic final intstatic final intstatic final intprotected GCClassStaticsIterator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGCClassIterator(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCClassIteratorfromJ9Class(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) intgetState()booleanhasNext()Returnstrueif the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointernext()Returns the next element in the iteration.Methods declared in class GCBase
getExtensions, getJavaVMModifier and TypeMethodDescriptionstatic com.ibm.j9ddr.vm29.pointer.generated.MM_GCExtensionsPointerstatic com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointerMethods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface Iterator
forEachRemaining, remove
-
Field Details
-
state_start
public static final int state_start- See Also:
-
state_statics
public static final int state_statics- See Also:
-
state_constant_pool
public static final int state_constant_pool- See Also:
-
state_slots
public static final int state_slots- See Also:
-
state_end
public static final int state_end- See Also:
-
state
protected int state -
staticsIterator
-
constantPoolSlotIterator
-
clazz
protected com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz
-
-
Constructor Details
-
GCClassIterator
protected GCClassIterator(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
fromJ9Class
public static GCClassIterator fromJ9Class(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) 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()
-