Add AOT command-line flag aliases

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • 24
    • Affects Version/s: None
    • Component/s: hotspot

      Add the following command-line options as specified in JDK-8315737 (JEP 483):

      -XX:AOTMode=off/record/create/auto/on
      -XX:AOTConfiguration=<file>.aotconfig
      -XX:AOTCache=<file>.aot

      Examples of existing syntax

      java -XX:DumpLoadedClassList=app.classlist -cp app.jar App
      java -Xshare:dump -XX:SharedClassListFile=app.classlist -XX:SharedArchiveFile=app.jsa -cp app.jar
      java -XX:SharedArchiveFile=app.jsa -cp app.jar App

      Examples of new syntax

      java -XX:AOTMode=record -XX:AOTConfiguration=app.classlist -cp app.jar App
      java -XX:AOTMode=create -XX:AOTConfiguration=app.classlist -XX:AOTCache=app.aot -cp app.jar
      java -XX:AOTCache=app.aot -cp app.jar

      (See CSR JDK-8338243 for details)

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: