-
public interface JavaStackFrameRepresents a frame on a Java thread stack.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object obj)Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.ImagePointergetBasePointer()Get a pointer to the base of this stack frameIteratorgetHeapRoots()Get the set of object roots from this stack frame.JavaLocationgetLocation()Get the location at which the method owning this frame is currently executinginthashCode()Answers an integer hash code for the receiver.
-
-
-
Method Detail
-
getBasePointer
ImagePointer getBasePointer() throws CorruptDataException
Get a pointer to the base of this stack frame- Returns:
- the base pointer of the stack frame
- Throws:
CorruptDataException
-
getLocation
JavaLocation getLocation() throws CorruptDataException
Get the location at which the method owning this frame is currently executing- Returns:
- a location object describing where the frame is executing
- Throws:
CorruptDataException- See Also:
JavaLocation
-
getHeapRoots
Iterator getHeapRoots()
Get the set of object roots from this stack frame.- Returns:
- an iterator of JavaReferences
-
equals
boolean equals(Object obj)
Description copied from class: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 (==).- Overrides:
equalsin classObject- Parameters:
obj-- Returns:
- True if the given object refers to the same Java Stack Frame in the image
- See Also:
Object.hashCode()
-
hashCode
int hashCode()
Description copied from class:ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-