Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8232749

Add high-level JIT compilation mode control mechanism

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 14
    • hotspot
    • None
    • behavioral
    • minimal
    • It's a new flag. No risks.
    • add/remove/modify command line option
    • JDK

      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/

            iveresov Igor Veresov
            epavlova Ekaterina Pavlova
            Mikael Vidstedt, Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: