java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCObjectHeapIterator
com.ibm.j9ddr.vm29.j9.gc.GCObjectHeapIteratorMarkMapIterator_V1
- All Implemented Interfaces:
SlotIterator
,Iterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected VoidPointer
protected UDATAPointer
protected UDATA
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
protected long
protected int
protected long
Fields declared in class com.ibm.j9ddr.vm29.j9.gc.GCObjectHeapIterator
includeDeadObjects, includeLiveObjects
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Methods declared in class com.ibm.j9ddr.vm29.j9.gc.GCObjectHeapIterator
fromHeapRegionDescriptor, fromHeapRegionDescriptor, nextAddress
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
-
_heapBase
-
_heapMapBits
-
_markWordCache
-
_nextSlotIndex
protected long _nextSlotIndex -
_topSlotIndex
protected long _topSlotIndex -
_shiftCount
protected int _shiftCount -
_nextObject
protected com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer _nextObject
-
-
Constructor Details
-
GCObjectHeapIteratorMarkMapIterator_V1
protected GCObjectHeapIteratorMarkMapIterator_V1(GCHeapRegionDescriptor hrd) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
advance
-
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
-
peek
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer peek() -
nextImpl
protected void nextImpl() -
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
-