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

[Graal] compiler/intrinsics/bmi/* fail when AOTCache cannot be loaded

XMLWordPrintable

      The compiler/intrinsics/bmi/* tests produce an extra line of unexpected output when run with:
        -XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier2_compiler/aot/jdk.aotcache \
        -XX:+UnlockExperimentalVMOptions \
        -XX:+UseJVMCICompiler

      [error][cds] CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.

      Note that jdk.aotcache was generated with -XX:+AOTClassLinking but WITHOUT -XX:+UseJVMCICompiler

      This makes the test fail, which doesn't expect this extra output.

      Only seen with Graal so far, but it's unclear why. Nor is it clear what these particular tests of arithmetic operations have to do with CDS. The somewhat similar issue https://bugs.openjdk.org/browse/JDK-8342438 was considered a test bug.

            iklam Ioi Lam
            gbarany Gergö Barany
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: