Class GCFinalizableObjectIterator
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCFinalizableObjectIterator
- All Implemented Interfaces:
SlotIterator
,Iterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
protected int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ModifierConstructorDescriptionprotected
GCFinalizableObjectIterator
(com.ibm.j9ddr.vm29.pointer.generated.GC_FinalizeListManagerPointer manager) -
Method Summary
Modifier and TypeMethodDescriptionstatic GCFinalizableObjectIterator
from()
int
getState()
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
-
state_start
public static final int state_start- See Also:
-
state_system
public static final int state_system- See Also:
-
state_default
public static final int state_default- See Also:
-
state_reference
public static final int state_reference- See Also:
-
state_end
public static final int state_end- See Also:
-
_state
protected int _state -
_currentSystemObject
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer _currentSystemObject -
_currentDefaultObject
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer _currentDefaultObject -
_currentReferenceObject
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer _currentReferenceObject
-
-
Constructor Details
-
GCFinalizableObjectIterator
protected GCFinalizableObjectIterator(com.ibm.j9ddr.vm29.pointer.generated.GC_FinalizeListManagerPointer manager) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
from
- 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
-
getState
public int getState()
-