JMH 1.9.2

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri May 8 17:35:49 UTC 2015


Hi,

JMH 1.9.2 is released and available at Maven Central (props to Evgeny
Mandrikov, as usual). This is the maintenance release, and it includes
the following changes:

 * -prof stack result sorting was messed up due to a recent refactoring
in Multiset sorting code. Fixed:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901411

 * All -prof hs_* profilers now have the profiler-specific prefix in
their reported results. This helps to avoid collisions between metrics:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901412

 * There were some corner cases when the result files and other
resources would not be safely closed. This is fixed with the patch from
Bernd Eckenfels, thanks! Tracking:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901413

 * -prof perfnorm was crashing when output contained something else,
besides the perf output; like, say, a greetings message for a javaagent.
Fixed:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901414

 * -prof cl should follow the practice set by perfnorm and gc, and
normalize its metrics to the operation count. Tracking:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901417

 * And the last, but not the least: JMHSample_35_Profilers, carefully
(?) explaining how can one use our most precious profilers on their
workloads:

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

(By the way, corrections and fixes to Javadocs and/or Samples are
greatly appreciated -- and they count as contributions, for better or
for worse).

Enjoy!

-Aleksey.



More information about the jmh-dev mailing list