A lightweight CPU profiler based on call stack sampling.
A lightweight CPU profiler based on call stack sampling.
When run as a thread, it periodically captures the call stacks of all live threads and maintains
counters for each leaf method. The counters are then dumped to a logger with a given periodicity
(most probably greater than the sampling period). Each data row written to the logger contains a
timestamp, the method profiled, its location in the source code and the associated absolute
counters and relative weight.
A lightweight CPU profiler based on call stack sampling.
When run as a thread, it periodically captures the call stacks of all live threads and maintains counters for each leaf method. The counters are then dumped to a logger with a given periodicity (most probably greater than the sampling period). Each data row written to the logger contains a timestamp, the method profiled, its location in the source code and the associated absolute counters and relative weight.