Class StacktraceFrame
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.stacktrace.StacktraceFrame
-
public class StacktraceFrame extends Object
An expanded version ofIMCFrame
that 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
FrameSeparator
used in the stacktrace model.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getAttributeAggregate()
StacktraceModel.Branch
getBranch()
IMCFrame
getFrame()
int
getIndexInBranch()
int
getItemCount()
SimpleArray<IItem>
getItems()
int
hashCode()
-
-
-
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
-
getAttributeAggregate
public long getAttributeAggregate()
- Returns:
- the value of the aggregation on the attribute
-
-