JMH 1.10.5

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Aug 28 21:12:06 UTC 2015


Hi,

JMH 1.10.5 patch update is released and available at Maven Central
(props to Evgeny Mandrikov, as usual). It includes three patch changes:

  * perfasm was pointing to an outdated page with PrintAssembly
instructions. Spotted by Roman Leventov, fixed:
    https://bugs.openjdk.java.net/browse/CODETOOLS-7901489

  * When doing the @Param on benchmarks in the hierarchy of classes, JMH
failed on two fronts: first, the default values were picked from the
superclass, not from the concrete class, as one would expect; second,
during the run, the @Param fields were set only in a superclass. This
was discovered and fixed by Sergey Kuksenko:
    https://bugs.openjdk.java.net/browse/CODETOOLS-7901491

  * JMH failed to compile the benchmarks with special names, e.g. "jmh",
due to a name clash between the synthetic wrappers for benchmark methods
and for the @State objects. Fixed:
    https://bugs.openjdk.java.net/browse/CODETOOLS-7901490

Enjoy!
-Aleksey



More information about the jmh-dev mailing list