- java.lang.Object
-
- com.ibm.dtfj.image.javacore.JCImageThread
-
- All Implemented Interfaces:
ImageThread
public class JCImageThread extends Object implements ImageThread
-
-
Constructor Summary
Constructors Constructor Description JCImageThread(ImagePointer nativeThreadID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImageStackFrame(ImageStackFrame stackFrame)
NOT in DTFJvoid
addImageStackSection(ImageSection stackSection)
NOT in DTFJ Add a stack section for this thread.void
addProperty(Object key, Object value)
void
addRegister(ImageRegister reg)
NOT in DTFJImagePointer
getInternalID()
NON-DTFJ.Iterator
getStackFrames()
Not available in javacoreImagePointer
getSystemThreadID()
NON-DTFJ.void
setSystemThreadID(ImagePointer systemThreadID)
NON-DTFJ.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.image.ImageThread
getID, getProperties, getRegisters, getStackSections
-
-
-
-
Constructor Detail
-
JCImageThread
public JCImageThread(ImagePointer nativeThreadID) throws JCInvalidArgumentsException
- Parameters:
nativeThreadID
-- Throws:
JCInvalidArgumentsException
-
-
Method Detail
-
getStackFrames
public Iterator getStackFrames() throws DataUnavailable
Not available in javacore- Specified by:
getStackFrames
in interfaceImageThread
- 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
-
-