JMH 1.17.3
Aleksey Shipilev
shade at redhat.com
Thu Dec 15 21:50:19 UTC 2016
Hi,
JMH 1.17.3 is released and available at Maven Central. This is the patch
release, and it contains important bugfixes:
*) Blackhole.consume(Object) is retaining some consumed objects. While it does
so only for a minuscule proportion of them (less than 100 per trial, never more
than one per Blackhole), when objects are huge it shifts the heap occupancy, and
may lead to unexpected OOMEs. Fixed with several improvements, should be
performance-neutral, but take note. Fixes:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901865
https://bugs.openjdk.java.net/browse/CODETOOLS-7901867
*) "gc" profiler uses MXBeans notifications for measuring GC churn rates. Since
those notifications are asynchronous, we may have missed some at the end of the
iteration. This makes "alloc" and "churn" counters mismatch on high GC activity.
Fixed:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901868
Enjoy!
Thanks,
-Aleksey
More information about the jmh-dev
mailing list