public class StackTracker
extends java.lang.Object
Profiler
except there is no threading
concept. Instead it is focused on the stack traces only and can be accessed concurrently.Constructor and Description |
---|
StackTracker() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.lang.StackTraceElement[],java.lang.Long>> |
dumpStackCounts()
Check how many unique stack traces have been recorded.
|
void |
recordStack()
Record the current stack into the internally monitored traces.
|
void |
reset()
Reset all stored data to allow a new capture.
|
public void recordStack()
StackTracker
wont be included in the resulting stack.public java.util.List<Pair<java.lang.StackTraceElement[],java.lang.Long>> dumpStackCounts()
public void reset()