Summary
JDK-8227003 adds a flag -XX:CompilationMode to allow the user to symbolically specify the compilation mode.
The current supported values are:
default: normal tiered compilation
quick-only: C1-only mode
high-only: C2/JVMCI-only mode
high-only-quick-internal: C2/JVMCI-only mode, with JVMCI compiler compiled with C1.
There will be possibly more modes added in the future.
Problem
No way to control interesting compilation strategies.
Solution
Add a flag to select compilation strategies.
Specification
2192 product(ccstr, CompilationMode, "default", \
2193 "Compilation modes: " \
2194 "default: normal tiered compilation; " \
2195 "quick-only: C1-only mode; " \
2196 "high-only: C2/JVMCI-only mode; " \
2197 "high-only-quick-internal: C2/JVMCI-only mode, " \
2198 "with JVMCI compiler compiled with C1.") \
2199
see
Webrev: http://cr.openjdk.java.net/~iveresov/8227003/webrev.03/
- csr of
-
JDK-8227003 Add high-level JIT compilation mode control mechanism
-
- Resolved
-