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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 9, 10, 11, 12, 13, 14, 15, 16
    • hotspot
    • generic
    • generic

      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

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: