Allow AOT cache to be used in training run

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated: