fail if timeUnit= TimeUnit.HOURS

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Feb 14 03:50:28 PST 2014


On 02/14/2014 03:37 PM, Sergey Kuksenko wrote:
> I think it looks a little bit crazy, but annotations with "hours"
> fail. like @Warmup(time =3, timeUnit = TimeUnit.HOURS)

Yeah, that's because we miss the case in TimeValue.fromString(). Fixed:
 http://hg.openjdk.java.net/code-tools/jmh/rev/827d48b75dd5

-Aleksey.



More information about the jmh-dev mailing list