RFR(S) 7195597 [TESTBUG] ThreadStateTest gets different results with -Xcomp

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Aug 28 11:04:10 PDT 2013


This is not correct fix since Xcomp can follow by other flags (-Xint, 
-Xmixed) which negate -Xcomp. So the fix could use such flag to 
overwrite -Xcomp and be simple:

   * @run main/othervm -Xmixed ThreadStateTest

Vladimir

On 8/28/13 5:19 AM, Morris Meyer wrote:
> Folks,
>
> The ThreadStateTest has exhibited sporadic and rare timing issues with
> the -Xcomp flag in some settings.  I've added workaround code to the
> test to detect the '-Xcomp' flag and lengthen the retry timeout
> accordingly.
>
> This has been tested through the Sfbay JPRT.
>
>          --mm
>
> JBS - https://jbs.oracle.com/bugs/browse/JDK-7195597
> WEBREV - http://cr.openjdk.java.net/~morris/JDK-7195597-jdk.01/


More information about the hotspot-compiler-dev mailing list