Module openj9.dtfj

Class GCVMThreadListIterator

All Implemented Interfaces:
SlotIterator, Iterator

public class GCVMThreadListIterator extends GCIterator
  • Field Details

    • initialVMThread

      protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer initialVMThread
    • currentVMThread

      protected com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer currentVMThread
    • consumedInitial

      protected boolean consumedInitial
  • Constructor Details

  • Method Details

    • from

      public static GCVMThreadListIterator from() throws CorruptDataException
      Factory method to construct an appropriate vm thread list iterator.
      Type Parameters:
      T -
      Parameters:
      structure - the J9JavaVM
      Returns:
      an instance of GCVMThreadListIterator
      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.J9VMThreadPointer 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()