JMH can't parse latest xperf output.

Aleksey Shipilev shade at redhat.com
Thu Oct 31 12:22:48 UTC 2019


On 10/30/19 1:21 PM, Aleksey Shipilev wrote:
> On 10/29/19 7:22 PM, Jorn Vernee wrote:
>> "SampledProfile,   13121554,         java.exe (15096), 6284, 0x00000283d25f6f8c,   2,
>> ucrtbase.dll!thread_start<unsigned int (__cdecl*)(void *),1>,       
>> \"Unknown\"!0x00000283d25f6f8c,     1, Unbatched"
>>
>> Note that the current parser code tries to split these log lines on `,` which breaks due to
>> templates like: "thread_start<unsigned int (__cdecl*)(void *),1>" since they contain a comma (This
>> is of course a great symbol format to use in log lines where the elements are also separated by
>> commas :D).
> 
> Ooof.
> 
>> A quick-fix: http://cr.openjdk.java.net/~jvernee/jmh_xperf/webrev.00/index.html
>> (JMH is not on JBS it seems?)
> 
> Patch looks good, let me do some more testing.
> 
> JMH is on JBS, here:
>   https://bugs.openjdk.java.net/browse/CODETOOLS-7902533

Pushed.

-- 
Thanks,
-Aleksey



More information about the jmh-dev mailing list