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

Turn off AOT by default

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 13-pool
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      Summary

      Turn off AOT by default and make related flags experimental to reflect that JEP 295 AOT is still experimental.

      Problem

      The AOT feature is experimental, which implies it should not have any impact for users not interested in or unaware of the same. At present the related command line options UseAOT, AOTLibrary, and PrintAOT are product flags and UseAOT is enabled by default, which leads it can have a performance impact.

      Solution

      • Change the related flags UseAOT, PrintAOT, and AOTLibrary to experimental type.
      • Turn off UseAOT by default.

      Specification

      The following flags are made experimental in JDK 13u: UseAOT, PrintAOT, and AOTLibrary. Default value of UseAOT is changed from enabled to disabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rraghavan Rahul Raghavan
              Reporter:
              redestad Claes Redestad
              Reviewed By:
              Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: