Java 10 - Experimental Java-Based JIT Compiler


This feature enables the Java-based JIT compiler, Graal, to be used as an experimental JIT compiler on the Linux/x64 platform. Graal will use the JVM compiler interface (JVMCI) introduced in JDK 9. Graal is already in the JDK, so enabling it as an experimental JIT will primarily be a testing and debugging effort.

To enable Graal as the JIT compiler, use the following options on the java command line:

    
        -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler

    

Graal is a complete rewrite of the JIT compiler in Java from scratch. Previous JIT complier was written in C++.






javacodegeeks is optimized for learning.© javacodegeeks .
All Right Reserved and you agree to have read and accepted our term and condition