JEP proposed to target JDK 10 (2017/11/28)
lennart.borjeson at cinnober.com
Thu Dec 7 09:15:37 UTC 2017
> 7 dec. 2017 kl. 10:08 skrev Doug Simon <doug.simon at oracle.com>:
> Hi Lennart,
> Even though it's not officially supported, it seems to work on macOS. With the latest macOS jdk 10 EA build (http://jdk.java.net/10/):
> ~$ 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
Oh yes, I know it works in the EA! At least well enough for my purposes.
It used to be in the EA of jdk 9, too, but was removed in the final release, and I was hoping it would remain this time. I shall just have to bide my time.
More information about the jdk-dev