Interface JavaStackFrame

All Known Implementing Classes:
DTFJJavaStackFrame, JavaStackFrame, JCJavaStackFrame, PHDCorruptJavaStackFrame, PHDJavaStackFrame

public interface JavaStackFrame
Represents a frame on a Java thread stack.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares 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 frame
    Get the set of object roots from this stack frame.
    Get the location at which the method owning this frame is currently executing
    int
    Answers an integer hash code for the receiver.
  • Method Details

    • 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:
    • 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: java.lang.Object
      Compares 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:
      equals in class Object
      Parameters:
      obj -
      Returns:
      True if the given object refers to the same Java Stack Frame in the image
      See Also:
    • hashCode

      int hashCode()
      Description copied from class: java.lang.Object
      Answers an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.
      Overrides:
      hashCode in class Object
      Returns:
      the receiver's hash.
      See Also: