RFR(xs): 8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal
Calvin Cheung
calvin.cheung at oracle.com
Thu Dec 5 18:48:03 UTC 2019
Hi Ioi,
Thanks for your review.
I've included your suggestion in the following updated webrev:
http://cr.openjdk.java.net/~ccheung/8225219/webrev.02/
thanks,
Calvin
On 12/4/19 7:45 PM, Ioi Lam wrote:
> Hi Calvin,
>
> I think it's better to run all the other cases, and then throw
> SkippedExceptions at the end of the test to say "some cases have been
> skipped because ....". That way we will have better coverage for graal.
>
> Thanks
> - Ioi
>
> On 12/4/19 1:06 PM, Calvin Cheung wrote:
>> Hi Vladimir,
>>
>> Thanks for your review!
>>
>> On 12/4/19 11:36 AM, Vladimir Kozlov wrote:
>>> I think you need also install WhiteBoxPermission:
>>>
>>> * @run driver ClassFileInstaller sun.hotspot.WhiteBox
>>> sun.hotspot.WhiteBox$WhiteBoxPermission
>> Actually, the test runs fine without the WhiteBoxPermission. I know
>> that some tests include it but I'm not sure why.
>>>
>>> an you don't need import WB if you not using its classes:
>>>
>>> import sun.hotspot.WhiteBox;
>>
>> You're right. I've removed it in the updated webrev:
>>
>> http://cr.openjdk.java.net/~ccheung/8225219/webrev.01/
>>
>> thanks,
>>
>> Calvin
>>
>>>
>>> Thanks,
>>> Vladimir
>>>
>>> On 12/4/19 10:20 AM, Calvin Cheung wrote:
>>>> bug: https://bugs.openjdk.java.net/browse/JDK-8225219
>>>>
>>>> webrev: http://cr.openjdk.java.net/~ccheung/8225219/webrev.00/
>>>>
>>>> This change includes:
>>>>
>>>> 1. increase the timeout value so that the tests won't timeout with
>>>> the -Xcomp option;
>>>>
>>>> 2. exclude the test scenarios which use the --limit-modules option
>>>> from running if Graal is enabled.
>>>>
>>>> Tested locally on linux-x64 and passed tier1/2.
>>>>
>>>> thanks,
>>>>
>>>> Calvin
>>>>
>>>>
>
More information about the hotspot-runtime-dev
mailing list