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

Add AOT command-line flag aliases

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 24
    • None
    • 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)

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

              Created:
              Updated:
              Resolved: