- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.gc.GCBase
-
- com.ibm.j9ddr.vm29.j9.gc.GCIterator
-
- com.ibm.j9ddr.vm29.j9.gc.GCSegmentIterator
-
- All Implemented Interfaces:
SlotIterator
,Iterator
public class GCSegmentIterator extends GCIterator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GCSegmentIterator(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer list, long flags)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GCSegmentIterator
fromJ9MemorySegmentList(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer list, long flags)
Factory method to construct an appropriate segment iterator.-
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, hasNext, next, remove
-
Methods declared in interface com.ibm.j9ddr.vm29.j9.SlotIterator
nextAddress
-
-
-
-
Constructor Detail
-
GCSegmentIterator
protected GCSegmentIterator(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer list, long flags) throws CorruptDataException
- Throws:
CorruptDataException
-
-
Method Detail
-
fromJ9MemorySegmentList
public static GCSegmentIterator fromJ9MemorySegmentList(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer list, long flags) throws CorruptDataException
Factory method to construct an appropriate segment iterator.- Parameters:
list
- the J9MemorySegmentList to iterateflags
- only iterate segments that match these flags- Returns:
- an instance of GCSegmentIterator
- Throws:
CorruptDataException
-
-