java.lang.Object
com.ibm.dtfj.corereaders.GenericThread
This class represents a single "generic" thread within the dump and is basically a
data holding class (together with a toString() that allows a nice view of the
class .....
- what attributes does a "generic thread" have as against extenders representing
a specific type of thread (viz a J9 thread)
J9Thread extends this Generic thread. System threads are generic threads and
do not necessarily have same detail as java threads
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGenericThread
(GenericThread thread) GenericThread
(String threadId, long stackstart, int stacksize, int rva) GenericThread
(String id, String obj, String state, String monitor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getNamedRegister
(String name) int
long
getState()
boolean
boolean
matchIdOrName
(String key) void
void
void
setContext
(NativeThreadContext context) void
setStacksize
(int stacksize) void
setStackstart
(long stackstart)
-
Field Details
-
threadId
-
javaLangThreadObjectAddress
-
threadDetails
-
threadName
-
state
-
monitorId
-
context
-
-
Constructor Details
-
GenericThread
-
GenericThread
-
GenericThread
-
-
Method Details
-
javaLangThreadObjectAddress
- Returns:
-
getThreadId
- Returns:
-
getMonitorId
- Returns:
-
getState
- Returns:
-
getThreadName
- Returns:
-
isJavaThread
public boolean isJavaThread()- Returns:
-
addRegister
-
addNativeFrame
-
getNamedRegister
-
getRegisters
-
getNativeFrames
-
getStacksize
public int getStacksize()- Returns:
- Returns the stacksize.
-
getStackstart
public long getStackstart()- Returns:
- Returns the stackstart.
-
printHeader
-
printNativeFrames
-
getContext
- Returns:
- Returns the context.
-
setContext
- Parameters:
context
- The context to set.
-
getJavaLangThreadObjectAddress
- Returns:
- Returns the javaLangThreadObjectAddress.
-
setStacksize
public void setStacksize(int stacksize) - Parameters:
stacksize
- The stacksize to set.
-
setStackstart
public void setStackstart(long stackstart) - Parameters:
stackstart
- The stackstart to set.
-
matchIdOrName
-