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

[AOT] Do not depend on the JVM state or CPU flags

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10, 11, 12, 13, 14, 15, 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      For jdk 9 release the same java runtime configuration should be used during AOT compilation and execution. For example, jaotc tool should be run with Parallel GC if application will use it:

          jaotc -J-XX:+UseParallelGC --output libHelloWorld.so HelloWorld.class
          java -XX:+UseParallelGC -XX:AOTLibrary=./libHelloWorld.so HelloWorld

      Instead of such limitation we should specify for which runtime configuration compilation should be done regardless what is used to execute jaotc.

      New flag should be added to list configuration:

      —jvmconfig=G1,COOP,DEBUG

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iveresov Igor Veresov
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: