Stack Profiler

Kirk Pepperdine kirk at kodewerk.com
Wed Jul 2 17:16:10 UTC 2014


Hi all,

May I suggest that in my studies of profilers the current implementation of StackProfiler (-prof stack) *always* provides the *best* view of where to make improvements in the code. The only thing better is oprofiler as it’s not bothered by safe points.

Regards,
Kirk

On Jul 2, 2014, at 6:44 PM, Sergey Kuksenko <sergey.kuksenko at oracle.com> wrote:

> Hi All,
> 
> Currently StackProfiler (-prof stack) merges data from all threads and it may lead to cases when BLOCKED and/or WAITING threads stacks became dominant. I am suggesting to split stacks by different threads states.
> Here is a patch
> http://cr.openjdk.java.net/~skuksenko/jmh/stackProfiler/
> 
> -- 
> Best regards,
> Sergey Kuksenko



More information about the jmh-dev mailing list