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

AOT doesn't work easily after thread local handshakes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b36

      Description

      The argument processing of AOT was changed with
      8189941: Implementation JEP 312: Thread-local handshake
      because AOT doesn't yet support it. Previously UseAOT was on by default, and aot'ed java.base.so etc in jdl/lib were seamlessly loaded and used without any extra args. After 8189941, the only way to get AOT to work is to specify the AOT library explicitly for example: -XX:AOTLibrary=./build/linux-x64/images/jdk/lib/libjava.base-coop.so

      The workaround for the time being to use AOT the old way is to use -XX:-ThreadLocalHandshakes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              ecaspole Eric Caspole
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: