Stack Profiler

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Jul 2 17:23:23 UTC 2014


Kirk,

You should really try "-prof perfasm" with 0.9.1+ now then :)

-Aleksey.

On 07/02/2014 09:16 PM, Kirk Pepperdine wrote:
> 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