Class StacktraceFrame
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.stacktrace.StacktraceFrame
-
public class StacktraceFrame extends java.lang.ObjectAn expanded version ofIMCFramethat adds relations to items and to other frames in astacktrace model.Note that the wrapped frame is not necessarily an exact match to the actual stacktrace in all items. It is only guaranteed to be similar according to the
FrameSeparatorused in the stacktrace model.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)StacktraceModel.BranchgetBranch()IMCFramegetFrame()intgetIndexInBranch()intgetItemCount()SimpleArray<IItem>getItems()inthashCode()
-
-
-
Method Detail
-
getItems
public SimpleArray<IItem> getItems()
- Returns:
- items that share this frame
-
getFrame
public IMCFrame getFrame()
- Returns:
- the wrapped frame
-
getBranch
public StacktraceModel.Branch getBranch()
- Returns:
- the branch that this frame has been grouped into
-
getIndexInBranch
public int getIndexInBranch()
- Returns:
- the frame index within this branch (not including parent branches)
-
getItemCount
public int getItemCount()
- Returns:
- the number of items that share this frame
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-