Class StacktraceDataProvider
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders.StacktraceDataProvider
-
public class StacktraceDataProvider extends Object
Helper class for dealing with stack traces.
-
-
Constructor Summary
Constructors Constructor Description StacktraceDataProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<IMCMethod>
getRelevantTraceList(StacktraceModel.Branch branch, int rootItems)
Generates an HTML representation of a given stack trace branch as an unordered list.
-
-
-
Method Detail
-
getRelevantTraceList
public static List<IMCMethod> getRelevantTraceList(StacktraceModel.Branch branch, int rootItems)
Generates an HTML representation of a given stack trace branch as an unordered list.- Parameters:
branch
- the branch to represent as HTMLrootItems
- the total amount of frames in the root branch- Returns:
- an HTML representation of a stack trace
-
-