Module openj9.dtfj

Class JCImageThread

    • Method Detail

      • addProperty

        public void addProperty​(Object key,
                                Object value)
        Parameters:
        key -
        value -
      • getStackFrames

        public Iterator getStackFrames()
                                throws DataUnavailable
        Not available in javacore
        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:
        ImageStackFrame, CorruptData
      • addImageStackFrame

        public void addImageStackFrame​(ImageStackFrame stackFrame)
        NOT in DTFJ
        Parameters:
        stackFrame -
      • addImageStackSection

        public void addImageStackSection​(ImageSection stackSection)
        NOT in DTFJ Add a stack section for this thread. Duplicates are not removed. Do NOT use this outside the building process.
        Parameters:
        stackSection -
      • getInternalID

        public ImagePointer getInternalID()
        NON-DTFJ. Used internally as it bypasses the exception, since due to internal implementation, an exception thrown when the id is not set does not necessarily mean an internal building error. Do NOT use this outside the building process.
      • setSystemThreadID

        public void setSystemThreadID​(ImagePointer systemThreadID)
        NON-DTFJ. For building purposes only. Don't use as part of DTFJ.
        Parameters:
        systemThreadID -
      • getSystemThreadID

        public ImagePointer getSystemThreadID()
        NON-DTFJ. For building purposes only. Don't use as part of DTFJ.
        Returns:
        system thread id or null if not set.
      • addRegister

        public void addRegister​(ImageRegister reg)
        NOT in DTFJ
        Parameters:
        reg - register