RFR (S) 7901022: JMH runners should provide explicit timeout setting
Aleksey Shipilev
aleksey.shipilev at oracle.com
Wed Sep 10 14:30:44 UTC 2014
Hi,
I need a second pair of eyes to look through the patch:
http://cr.openjdk.java.net/~shade/7901022/webrev.01/
Please take a look. It removes the current "timeout" scheme that guesses
the timeout based on -r/measurementTime settings, and instead does the
explicit -to/timeout setting to control how much we wait. It also does
the waiting properly in multi-threaded workloads: do not wait for an
entire time, but only for the remaining part of it.
Context:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901022
http://mail.openjdk.java.net/pipermail/jmh-dev/2014-September/001369.html
Thanks,
-Aleksey.
More information about the jmh-dev
mailing list