Graal missing from MacOS Java 9 EA download b167
Sandeep Konchady
sandeep.konchady at oracle.com
Fri May 5 17:04:19 UTC 2017
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 <lenborje at gmail.com> 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)
More information about the build-dev
mailing list