JEP proposed to target JDK 10 (2017/11/28)

Doug Simon doug.simon at
Thu Dec 7 09:08:08 UTC 2017

Hi Lennart,

Even though it's not officially supported, it seems to work on macOS. With the latest macOS jdk 10 EA build (

~$ java -version
java version "10-ea"
Java(TM) SE Runtime Environment (build 10-ea+34)
Java HotSpot(TM) 64-Bit Server VM (build 10-ea+34, mixed mode)

~$ java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+BootstrapJVMCI -Dgraal.PrintCompilation=true -version
Bootstrapping JVMCIHotSpotCompilation-146  Ljava/lang/String; hashCode  ()I  |  349ms    49B   288B 1240kB


> On 7 Dec 2017, at 03:27, Vladimir Kozlov <vladimir.kozlov at> wrote:
> Hi, Lennart
> We can't officially "support" a feature, even experimental, without proper testing. For JDK 10 we tested Graal as JIT compiler only for Linux-x64 based on available resources. We are planning to add support on other platforms in future releases. With current short Java release circle it should not be long time.
> Regards,
> Vladimir
> On 12/6/17 3:56 AM, Lennart Börjeson wrote:
>> 28 nov. 2017 kl. 23:44 skrev mark.reinhold at
>>> The following JEP has been placed into the "Proposed to Target" state
>>> by its owner after discussion and review:
>>>  317: Experimental Java-Based JIT Compiler
>>> Feedback on this proposal is more than welcome, as are reasoned
>>> objections.  If no such objections are raised by 23:00 UTC on Tuesday,
>>> 5 December, or if they're raised and then satisfactorily answered, then
>>> per the JEP 2.0 process proposal [1] I'll target this JEP to JDK 10.
>>> - Mark
>>> [1]
>> It would really be nice if Graal could be enabled on MacOS, too.
>> Since it already is in the source, and maintained by the developers, it would also primarily be "a testing and debugging effort", and as such, probably only a small extension of the Linux/x86 effort.
>> Please?
>> /Lennart

More information about the jdk-dev mailing list