RFR(XS): 8204136: jtreg: Fix failing RTM test RTMSpinLoopCount
Igor Ignatyev
igor.ignatyev at oracle.com
Thu May 31 03:37:59 UTC 2018
Hi Gustavo,
the fix looks reasonable to me.
Thanks,
-- Igor
> On May 30, 2018, at 7:05 PM, Gustavo Romero <gromero at linux.vnet.ibm.com> wrote:
>
> Hi,
>
> Could the following change be reviewed please?
>
> webrev: http://cr.openjdk.java.net/~gromero/8204136/v1
> bug : https://bugs.openjdk.java.net/browse/JDK-8204136
>
> It throttles down RTMSpinLoopCount deltas in TestRTMSpinLoopCount to avoid
> a test timeout. Using current RTMSpinLoopCount values mostly makes the last
> tries fail (RTMSpinLoopCount = 1_000_000 or 10_000_000). The proposed
> increment is to make the next RTMSpinLoopCount value 10x greater than the
> previous one.
>
> Currently RTMSpinLoopCount can fail (error) sometimes due to timeout.
> (Please see: http://cr.openjdk.java.net/~gromero/misc/moog_spincountloop_timeout.log)
>
> The JVM behavior seems correct and indeed high RTMSpinLoopCount values
> like 10_000_000 should take a long time to complete (> 2 minutes).
>
> Thank you.
>
>
> Best regards,
> Gustavo
>
More information about the hotspot-compiler-dev
mailing list