RFR: disable hotspot/compiler/aot testing in LWorld

Harold David Seigel harold.seigel at oracle.com
Fri Aug 31 17:49:14 UTC 2018


Hi Fred,

Do we want to always exclude aot testing, or only exclude it when 
-XX:+EnableValhalla is set ?

Thanks, Harold


On 8/31/2018 1:40 PM, Frederic Parain wrote:
> Harold,
>
> Commenting everything out works but looks extreme.
> Could it be possible to have something like this instead?
>
>       protected String vmAOT() {
>
>
>           // builds with aot have jaotc in <JDK>/bin
>
>           Path bin = Paths.get(System.getProperty("java.home"))
>                           .resolve("bin");
>           Path jaotc;
>           if (Platform.isWindows()) {
>               jaotc = bin.resolve("jaotc.exe”);
>           } else if (WB.getBooleanVMFlag(“EnableValhalla”).booleanValue()) {
>              return “false”;
>           } else {
>               jaotc = bin.resolve("jaotc");
>           }
>           return "" + Files.exists(jaotc);
>
>       }
>
> Fred
>
>> On Aug 31, 2018, at 13:27, Harold David Seigel <harold.seigel at oracle.com> wrote:
>>
>> Hi,
>>
>> Please review this small RFR to disable aot testing in LWorld:
>>
>> Open Webrev: http://cr.openjdk.java.net/~hseigel/lworld_no_aot/webrev/index.html
>>
>> Thanks, Harold
>>




More information about the valhalla-dev mailing list