java.lang.Object
com.ibm.dtfj.java.j9.JavaStackFrame
- All Implemented Interfaces:
JavaStackFrame
-
Constructor Summary
ConstructorsConstructorDescriptionJavaStackFrame(JavaRuntime javaVM, ImagePointer basePointer, ImagePointer methodID, ImagePointer pc, int lineNumber) JavaStackFrame(JavaRuntime javaVM, ImagePointer basePointer, JavaMethod method, ImagePointer pc, int lineNumber) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateObjectRef(long id) booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.Get a pointer to the base of this stack frameGet the set of object roots from this stack frame.Get the location at which the method owning this frame is currently executinginthashCode()Answers an integer hash code for the receiver.
-
Constructor Details
-
JavaStackFrame
public JavaStackFrame(JavaRuntime javaVM, ImagePointer basePointer, JavaMethod method, ImagePointer pc, int lineNumber) -
JavaStackFrame
public JavaStackFrame(JavaRuntime javaVM, ImagePointer basePointer, ImagePointer methodID, ImagePointer pc, int lineNumber)
-
-
Method Details
-
getBasePointer
Description copied from interface:JavaStackFrameGet a pointer to the base of this stack frame- Specified by:
getBasePointerin interfaceJavaStackFrame- Returns:
- the base pointer of the stack frame
- Throws:
CorruptDataException
-
getLocation
Description copied from interface:JavaStackFrameGet the location at which the method owning this frame is currently executing- Specified by:
getLocationin interfaceJavaStackFrame- Returns:
- a location object describing where the frame is executing
- Throws:
CorruptDataException- See Also:
-
createObjectRef
public void createObjectRef(long id) -
equals
Description copied from class:java.lang.ObjectCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison. The implementation in Object answers true only if the argument is the exact same object as the receiver (==).- Specified by:
equalsin interfaceJavaStackFrame- Overrides:
equalsin classObject- Parameters:
obj- Object the object to compare with this object.- Returns:
- boolean
trueif the object is the same as this objectfalseif it is different from this object. - See Also:
-
hashCode
public int hashCode()Description copied from class:java.lang.ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Specified by:
hashCodein interfaceJavaStackFrame- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
-
getHeapRoots
Description copied from interface:JavaStackFrameGet the set of object roots from this stack frame.- Specified by:
getHeapRootsin interfaceJavaStackFrame- Returns:
- an iterator of JavaReferences
-