Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166089 JEP 295: Ahead-of-Time Compilation
  3. JDK-8166416

Integrate JDK build changes and launcher 'jaotc' for AOT compiler

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      We need to add changes to JDK build to build JAOTC module.

      And we need a launcher for the AOT compiler. Basically, it should be doing what the jaotc script is doing today.

      Main class: com.oracle.graal.aot.Main
      Java options:
              -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
              -XX:+UseAOT \
              -Djvmci.UseProfilingInformation=false \
              -Dgraal.UseExceptionProbability=false \
              -Djvmci.Compiler=graal \
              -Dgraal.IgnoreJVMCIVersionCheck=true

      This launcher should only be generated on linux-x64, the only supported by AOT platform in JDK9.

        Attachments

          Activity

            People

            Assignee:
            kvn Vladimir Kozlov
            Reporter:
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: