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

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Sep 10 14:52:34 PDT 2013


Good.

Vladimir

On 9/10/13 12:08 PM, Morris Meyer wrote:
> 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