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

Allow AOT cache to be used in training run

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot

      In JDK 24, you cannot use -XX:AOTCache in the training run:

      $ java -XX:AOTCache=foo.aot -cp HelloWorld.jar \
          -XX:AOTMode=record -XX:AOTConfiguration=hw.aotconfig \
          HelloWorld
      AOTCache must not be specified when using -XX:AOTMode=record

      In anticipation of the JEP "Ahead-of-time Command Line Ergonomics" (JDK-8350022), we should allow -XX:AOTCache to be used in the training run, so you can train more than once to build more optimized caches.

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

              Created:
              Updated: