JMH 1.10.4

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Aug 14 19:31:18 UTC 2015


Hi,

Summer is a dead season, but we can still push out a simple patch
release. JMH 1.10.4 is available, thanks to Evgeny Mandrikov, as usual.

Summary of changes:

 * Internal version test fixes, required for CompileHints to work
reliably. The patch was contributed by Nitsan Wakart:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901481

 * perfnorm would have failed to produce results on perf 3.13. This
regressed at 1.10.3, and fixed:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901482

 * perfnorm would have failed to run on perf 3.2, since it would try to
gather unsupported events. This regressed since 1.10, and fixed now:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901483

 * New option to list benchmark with parameters (-lp). The patch was
contributed by Sergey Kuksenko:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901484

 * New samples: BranchPrediction and CacheAccess. These samples describe
the pitfalls of believing the branches and memory are uniformly
performant. Ideas and initial implementations were contributed by
Michael Mirwaldt (with some polishing from yours truly):


http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_36_BranchPrediction.java


http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_37_CacheAccess.java

 * New sample: PerInvokeSetup. This sample describes how to deal with a
(heavily recurrent) pattern of doing the pre- at Benchmark-invocation work:


http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_38_PerInvokeSetup.java

Enjoy!

Thanks,
-Aleksey



More information about the jmh-dev mailing list