Module openj9.dtfj

Class GCClassLoaderSegmentIterator

    • 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 iterate
        flags - only iterate segments that match these flags
        Returns:
        an instance of GCSegmentIterator
        Throws:
        CorruptDataException