Module openj9.dtfj

Class J9DDRStubImageThread

java.lang.Object
com.ibm.j9ddr.view.dtfj.image.J9DDRBaseImageThread
com.ibm.j9ddr.view.dtfj.image.J9DDRStubImageThread
All Implemented Interfaces:
ImageThread

public class J9DDRStubImageThread extends J9DDRBaseImageThread implements ImageThread
ImageThread used for when we can't find a matching thread in the image. Can only return its ID.
  • Constructor Details

    • J9DDRStubImageThread

      public J9DDRStubImageThread(IProcess process, long id)
  • Method Details

    • getProperties

      public Properties getProperties()
      Description copied from interface: ImageThread
      Get the OS-specific properties for this thread.
      Specified by:
      getProperties in interface ImageThread
      Returns:
      a table of OS-specific properties for this thread. Values which are commonly available include
      • "priority" -- the priority of the thread
      • "policy" -- the scheduling policy of the thread
    • getRegisters

      public Iterator<?> getRegisters()
      Description copied from interface: ImageThread
      Get the register contents.
      Specified by:
      getRegisters in interface ImageThread
      Returns:
      an iterator to iterate over the state of the CPU registers when the image was created. The collection may be empty if the register state is not available for this thread. If the CPU supports partial registers (e.g. AH, AL, AX, EAX, RAX on AMD64), only the largest version of the register will be included
      See Also:
    • getStackFrames

      public Iterator<?> getStackFrames() throws DataUnavailable
      Description copied from interface: ImageThread
      Get the set of stack frames on this thread.
      Specified by:
      getStackFrames in interface ImageThread
      Returns:
      an iterator to walk the native stack frames in order from top-of-stack (that is, the most recent frame) to bottom-of-stack. Throws DataUnavailable if native stack frames are not available on this platform.
      Throws:
      DataUnavailable - If native stack frames are not available on this platform
      See Also:
    • getStackSections

      public Iterator<?> getStackSections()
      Description copied from interface: ImageThread
      Get the set of image sections which make up the stack.
      Specified by:
      getStackSections in interface ImageThread
      Returns:
      a collection of ImageSections which make up the stack. On most platforms this consists of a single entry, but on some platforms the thread's stack may consist of non-contiguous sections
      See Also:
    • getThreadId

      public long getThreadId() throws CorruptDataException
      Throws:
      CorruptDataException