JMH 1.21

Aleksey Shipilev shade at
Fri May 4 16:39:17 UTC 2018


JMH 1.21 is released and available at Maven Central. This is a maintenance release, it is focuses on
improving OpenJDK-derived JVMs support.

 *) Compiler hits detection fixed for GraalVM (critical for correctness!):

 *) Runner now prints warning messages about unsupported and experimentally supported VMs:

   Note: experimental support means you need to be extra careful during experiments. Submit bug
reports to either VM developers or here, if you find something peculiar. For example, we know at
least two minor issues that affect GraalVM today:

 *) Defaults for warmup/measurement/forks were reconsidered to allow longer in-JVM runs. This is
important for the VMs/benchmarks where time-to-performance is substantial. Instead of 20x1s warmup,
20x1s measurement, 10 forks, we are now doing 5x10s warmup, 5x10s measurement, 5 forks. It increases
the default time for around 1.25x, and single fork has 2.5x more time to warmup and complete.

 *) Runner now captures and prints the VM name, in case it is not "OpenJDK":

 *) Runner now prints the paragraph about trusting the numbers at the end of the run:


More information about the jmh-dev mailing list