JMH silently hangs if exception occurs in benchmark method

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri May 31 06:56:06 PDT 2013


Thanks for the bug report!

On 05/31/2013 05:24 PM, Sergej Zagurskiy wrote:
> Am I doing something wrong? Or is it a bug in JMH?

Nope, you are not doing anything wrong, it is the bug in JMH. Luckily, I
had already fixed this a few days ago, but was reluctant to push until now:
  http://hg.openjdk.java.net/code-tools/jmh/rev/5a5278e449e2

Your test code works as expected now. Please pull and try again.

-Aleksey.



More information about the jmh-dev mailing list