Thank you for the response. As I believe Graal is the most important new thing in jdk9, I’d then just want to state my opinion: Even if AOT is available only for x86_64 (and I have absolutely no problems with that), I still believe Graal should be included on all platforms.
After all, Graal is Java, and running on all platforms is what Java is all about, isn’t it? ;-) (Not expecting an immediate policy change.) Best regards, /Lennart Börjeson > 5 maj 2017 kl. 19:04 skrev Sandeep Konchady <[email protected]>: > > Hi Lennart, > > Feedback from development team: > > In JDK 9 jdk.internal.vm.compiler module is only built on platforms which AOT > supports. And it is only Linux-x64. > We don't support Graal as JIT compiler in JDK 9. Only as compiler for AOT. > > As workaround customer can download Graal from Oracle Labs and drop it into > JDK. All the necessary details are in > https://github.com/graalvm/graal/blob/master/compiler/README.md. Hope this > helps. > > Thanks, > Sandeep > >> On May 3, 2017, at 1:52 AM, Lennart Börjeson <[email protected]> wrote: >> >> Graal (e.g. the module jdk.internal.vm.compiler) seems to be missing from >> the Java 9 Early-Access download for MacOS. I noticed this with b166 and it >> is still so in b167. >> >> As it is perfectly possible (I’ve done it) to download the source, configure >> the build to include graal, and build it, I suspect this is possibly an >> oversight in the packaging of the EA on MacOS, due to that AOT is only to be >> supported on Linux. But graal per se should surely be included on all >> platforms? >> >> How to test: >> >> Download and install Java 9 EA. Put it on the PATH. >> >> java --list-modules | grep jdk.internal.vm.compiler >> >> (finds compiler on Linux; finds nothing on MacOS) >> >> >> java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler >> -XX:+BootstrapJVMCI -version >> >> (Works on Linux; complains about "no JVMCI compiler selected" on MacOS) >
