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