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

AOT lib at jdk/lib/libjava.base-coop.so seems to override -XX:AOTLibrary=

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      x86_64
    • OS:
      linux

      Description

      In the course of creating startup experiments, I noticed that if I created a custom AOT library and passed -XX:AOTLibrary=/home/eric/foo.so, if there was already a jdk/lib/libjava.base-coop.so in my jdk dir, the AOTLibrary= is ignored and the jdk/lib/libjava.base-coop.so is used instead.

      Only when I renamed my libjava.base-coop.so did the -XX:AOTLibrary= take effect.

      What is the intended behavior? I got this running 10/hs, I will try to repro it in 9.

        Attachments

          Activity

            People

            Assignee:
            kvn Vladimir Kozlov
            Reporter:
            ecaspole Eric Caspole
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: