RFR(xs): 8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Dec 4 19:36:39 UTC 2019


I think you need also install WhiteBoxPermission:

  * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission

an you don't need import WB if you not using its classes:

import sun.hotspot.WhiteBox;

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