JMH 1.6.1
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri Feb 20 12:41:47 UTC 2015
Hi,
JMH 1.6.1 is released and available at Maven Central (thanks to Evgeny,
as usual). This is a maintenance release. If you are migrating to 1.6.x,
read the release notes for 1.6 as well:
http://mail.openjdk.java.net/pipermail/jmh-dev/2015-February/001702.html
Summary of changes in 1.6.1:
* Profiler methods are now called in a specific order, which is
consistent with the order in which profilers are specified on command
line and/or API. before(Iteration|Trial) methods would run in that
order, and after(Iteration|Trial) method would run in the reverse one.
So, if you want to profiler to be as close to the measurement code as
possible, specify it last. Bug:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901300
* JMH was failing when ran with -XX:-StackTraceInThrowable, due to the
Blackhole protection code that introspected stack traces. Fixed:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901312
Enjoy!
-Aleksey.
More information about the jmh-dev
mailing list