java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCClassIteratorClassSlots
- All Implemented Interfaces:
SlotIterator
,Iterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected GCClassArrayClassSlotIterator
protected GCConstantPoolClassSlotIterator
protected GCClassLocalInterfaceIterator
protected int
static final int
static final int
static final int
static final int
static final int
static final int
protected GCClassSuperclassesIterator
-
Constructor Summary
ModifierConstructorDescriptionprotected
GCClassIteratorClassSlots
(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCClassIteratorClassSlots
fromJ9Class
(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) int
getState()
boolean
hasNext()
Returnstrue
if the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer
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
-
state_start
public static final int state_start- See Also:
-
state_constant_pool
public static final int state_constant_pool- See Also:
-
state_superclasses
public static final int state_superclasses- See Also:
-
state_interfaces
public static final int state_interfaces- See Also:
-
state_array_class_slots
public static final int state_array_class_slots- See Also:
-
state_end
public static final int state_end- See Also:
-
state
protected int state -
constantPoolSlotIterator
-
superclassesIterator
-
localInterfacesIterator
-
arrayClassSlotIterator
-
-
Constructor Details
-
GCClassIteratorClassSlots
protected GCClassIteratorClassSlots(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
fromJ9Class
public static GCClassIteratorClassSlots fromJ9Class(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz) 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.J9ClassPointer next()Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Returns:
- the next element in the iteration
-
nextAddress
-
getState
public int getState()
-