Module openj9.dtfj

Class GCConstantPoolSlotIterator

java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCConstantPoolSlotIterator
All Implemented Interfaces:
SlotIterator, Iterator
Direct Known Subclasses:
GCConstantPoolClassSlotIterator, GCConstantPoolObjectSlotIterator

public class GCConstantPoolSlotIterator extends GCIterator
  • Field Details

  • Constructor Details

    • GCConstantPoolSlotIterator

      protected GCConstantPoolSlotIterator(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, boolean returnClassSlots, boolean returnObjectSlots) throws CorruptDataException
      Throws:
      CorruptDataException
  • Method Details

    • fromJ9Class

      public static GCConstantPoolSlotIterator fromJ9Class(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, boolean returnClassSlots, boolean returnObjectSlots) throws CorruptDataException
      Throws:
      CorruptDataException
    • initializeSlots_V1

      protected void initializeSlots_V1(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, boolean returnClassSlots, boolean returnObjectSlots) throws CorruptDataException
      Throws:
      CorruptDataException
    • hasNext

      public boolean hasNext()
      Description copied from interface: java.util.Iterator
      Returns true if the iteration has more elements. (In other words, returns true if Iterator.next() would return an element rather than throwing an exception.)
      Returns:
      true if the iteration has more elements
    • next

      public AbstractPointer next()
      Description copied from interface: java.util.Iterator
      Returns the next element in the iteration.
      Returns:
      the next element in the iteration
    • nextAddress

      public VoidPointer nextAddress()