|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.helpers.OneImageThread
public class OneImageThread
Print and extract basic information about one DTFJ ImageThread object
Keep track of the association between ImageThreads and JavaThreads.
Constructor Summary | |
---|---|
OneImageThread()
Null constructor for use as JavaBean |
Method Summary | |
---|---|
OneJavaThread |
getAssociatedJavaThread()
|
com.ibm.dtfj.image.ImageThread |
getImageThread()
|
static OneImageThread |
getInstance(IAnalyzerContext context,
com.ibm.dtfj.image.ImageThread parent)
Find the OneImageThread bean instance associated with a given parent ImageThread (create it if necessary) |
long |
getRegisterValue(java.lang.String regName)
Get the current value of a register |
OneImageSection |
getStackSection()
|
long |
getTopOfStack()
|
void |
printBasicInfo(IAnalysisReport out)
Print the basic information for this ImageThread, as a segment of a report |
void |
printRegisterInfo(IAnalysisReport out)
Print the registers information for this ImageThread, as a segment of a report |
void |
printStackAreaInfo(IAnalysisReport out)
Print the stack area information for this ImageThread, as a segment of a report |
void |
printStackFramesInfo(IAnalysisReport out,
int maxFrames)
Print the stack frames information for this ImageThread, as a segment of a report |
IAnalysisReport |
produceReport()
Generate a report which will be encapsulated in the IAnalysisReport object for later use by some formatter. |
void |
setAssociatedJavaThread(OneJavaThread associatedJavaThread)
|
void |
setParent(java.lang.Object parent)
Set the parent ImageThread underlying this analyzer bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneImageThread()
Method Detail |
---|
public static OneImageThread getInstance(IAnalyzerContext context, com.ibm.dtfj.image.ImageThread parent)
context
- the AnalyzerContext in which to locate this bean instanceparent
- the parent ImageThread underlying this analyzer bean
public void setParent(java.lang.Object parent)
setParent
in interface IWrapper
setParent
in class SimpleAnalyzerBean
parent
- The parent object to set. Must be of type ImageThread.
compatible with the type of analyzer bean that receives itIWrapper.setParent(java.lang.Object)
public OneJavaThread getAssociatedJavaThread() throws com.ibm.dtfj.image.DataUnavailable
com.ibm.dtfj.image.DataUnavailable
public void setAssociatedJavaThread(OneJavaThread associatedJavaThread)
associatedJavaThread
- The associatedJavaThread to set.public void printBasicInfo(IAnalysisReport out)
out
- a AnalysisReport object to which to write the outputpublic void printStackAreaInfo(IAnalysisReport out)
out
- a AnalysisReport object to which to write the outputpublic void printStackFramesInfo(IAnalysisReport out, int maxFrames)
out
- a AnalysisReport object to which to write the outputmaxFrames
- maximum number of frames to include in the reportpublic long getRegisterValue(java.lang.String regName) throws com.ibm.dtfj.image.DTFJException
regName
- the name of the register
com.ibm.dtfj.image.DTFJException
- if an error was encountered while extracting this information from the dumppublic void printRegisterInfo(IAnalysisReport out)
out
- a AnalysisReport object to which to write the outputpublic IAnalysisReport produceReport()
IReport
produceReport
in interface IReport
produceReport
in class SimpleAnalyzerBean
IReport.produceReport()
public long getTopOfStack() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public OneImageSection getStackSection() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public com.ibm.dtfj.image.ImageThread getImageThread()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |