Compilation modes

The changes in the Java 9 platform include granular control of both the c1 and c2 JVM compliers. As you can see in the following illustration, the Java HotSpot JVM has two Just-in-Time (JIT) compilation modes--c1 and c2:

The C1 and C2 compilation modes use different compilation techniques and, if used on the same code base, can produce different sets of machine code.

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.