RFR: disable hotspot/compiler/aot testing in LWorld

Frederic Parain frederic.parain at oracle.com
Fri Aug 31 17:40:35 UTC 2018


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