JMH 1.10.2

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Jul 8 21:04:12 UTC 2015


Hi,

JMH 1.10.2 patch update is released and available at Maven Central
(props to Evgeny Mandrikov, as usual). It includes three patch changes:

  * Newer perf-s were failing with -prof perf* in JMH:
     https://bugs.openjdk.java.net/browse/CODETOOLS-7901459

   This is because the perf_events CLI has changed the command line
   argument "-f", describing the fields, to "-F". The solution for us
   is to use the long options, that are accepted in the same fashion on
   both newer and older perf_events.

  * -prof perfnorm was reporting CPI unconditionally:
    https://bugs.openjdk.java.net/browse/CODETOOLS-7901461

   This happened regardless of whether "cycles" or "instructions" are
   available, e.g. when user specifies the exact events to gather. This
   was cluttering the output, and now fixed.

  * When profiler options are mistyped, JMH was throwing an opaque ITE:
    https://bugs.openjdk.java.net/browse/CODETOOLS-7901460

Enjoy!
-Aleksey



More information about the jmh-dev mailing list