We need to add changes to JDK build to build JAOTC module.
And we need a launcher for the AOT compiler. Basically, it should be doing what the jaotc script is doing today.
Main class: com.oracle.graal.aot.Main
Java options:
-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
-XX:+UseAOT \
-Djvmci.UseProfilingInformation=false \
-Dgraal.UseExceptionProbability=false \
-Djvmci.Compiler=graal \
-Dgraal.IgnoreJVMCIVersionCheck=true
This launcher should only be generated on linux-x64, the only supported by AOT platform in JDK9.
And we need a launcher for the AOT compiler. Basically, it should be doing what the jaotc script is doing today.
Main class: com.oracle.graal.aot.Main
Java options:
-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
-XX:+UseAOT \
-Djvmci.UseProfilingInformation=false \
-Dgraal.UseExceptionProbability=false \
-Djvmci.Compiler=graal \
-Dgraal.IgnoreJVMCIVersionCheck=true
This launcher should only be generated on linux-x64, the only supported by AOT platform in JDK9.