JMH 1.13

Aleksey Shipilev aleksey.shipilev at oracle.com
Sat Jul 23 11:47:49 UTC 2016


Hi,

JMH 1.13 release is available at Maven Central (props to Evgeny
Mandrikov, as usual). It includes several intrusive internal changes
that bring interesting features and/or fix non-trivial bugs, but can
also bring potential regressions. Please give them a ride!

Summary of changes:

 *) -prof perfasm improvements: it now prints the compiler used to
compile the method, compilation level, method version:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901737

 *) Output improvements. Inconsistency in labeling dynamically
discovered profilers was fixed -- prints class FQN name now, instead of
"<none>" label. Thread distribution for asymmetric benchmarks is now
printed out. JMH update interval is increased.
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901708
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901729
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901736

 *) Maven Archetype improvements: benchmark projects generated from
archetypes now default to source/target 1.8, have updated suggestions on
language-specific versions, have more docs about the properties, etc:
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901738
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901739

 *) Profiler infrastructure improvements: JMH now polls external
profilers for JVM options before each run, which enables profilers to
have e.g. separate output files for each fork.
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901707

 *) Benchmark generator improvements. JMH used to reject some valid
@State graphs. Also, frequently-used JMH infra classes (Blackhole,
*Params, Control) are not implicitly @State-s anymore, and treated
specially -- this frees JMH generators from generating unnecessary cruft
(e.g. subclasses) around them.
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901706
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901735
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901743

 *) Other minor improvements. Some internal data marshaling
improvements, fixing the leaks, etc.
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901421
   https://bugs.openjdk.java.net/browse/CODETOOLS-7901666

Enjoy!
-Aleksey



More information about the jmh-dev mailing list