RFR(S) 7195597 [TESTBUG] ThreadStateTest gets different results with -Xcomp
Morris Meyer
morris.meyer at oracle.com
Tue Sep 10 12:08:23 PDT 2013
Updated with Vladimir's suggestion and tested successfully via the SfBay
JPRT.
--morris
JBS - https://jbs.oracle.com/bugs/browse/JDK-7195597
WEBREV - http://cr.openjdk.java.net/~morris/JDK-7195597-jdk.02
On 8/28/13 2:04 PM, Vladimir Kozlov wrote:
> 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