Class StacktraceDataProvider
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders.StacktraceDataProvider
-
public class StacktraceDataProvider extends java.lang.Object
Helper class for dealing with stack traces.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_TAIL_FRAMES
-
Constructor Summary
Constructors Constructor Description StacktraceDataProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getRelevantTraceHtmlList(StacktraceModel.Branch branch, int rootItems)
Generates an HTML representation of a given stack trace branch as an unordered list.
-
-
-
Field Detail
-
MAX_TAIL_FRAMES
private static final int MAX_TAIL_FRAMES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRelevantTraceHtmlList
public static java.lang.String getRelevantTraceHtmlList(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
-
-