Module openj9.dtfj

Class GCVMThreadJNISlotIterator

All Implemented Interfaces:
SlotIterator, Iterator

public class GCVMThreadJNISlotIterator extends GCIterator
  • Field Details

    • jniFrame

      protected com.ibm.j9ddr.vm29.pointer.generated.J9JNIReferenceFramePointer jniFrame
    • poolIterator

      protected Iterator<PointerPointer> poolIterator
  • Constructor Details

  • Method Details

    • fromJ9VMThread

      public static GCVMThreadJNISlotIterator fromJ9VMThread(com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer vmThread) 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 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
    • nextAddress

      public VoidPointer nextAddress()