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

Ioi Lam iklam at openjdk.org
Fri Dec 6 19:03:41 UTC 2024


On Fri, 6 Dec 2024 05:52:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> See JBS issue for detailed evaluation.
> 
> In summary -- when `-XX:+UseJVMCICompiler` is used, one of `-int` or `-Xcomp` will print out the `[cds][error]` message. The work around is to disable the CDS log for both cases.

There's a better fix by adding `--add-modules=jdk.internal.vm.ci` when running the tests under this configuration. Please see more info in [JDK-8344556](https://bugs.openjdk.org/browse/JDK-8344556).


$ env JVMCI_VERSION_CHECK=ignore make test \
     JTREG_AOT_JDK=true \
     TEST_OPTS_VM_OPTIONS="--add-modules=jdk.internal.vm.ci -XX:+AOTClassLinking -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler" \
     JTREG_OPTIONS="-e:JVMCI_VERSION_CHECK=ignore" \
     TEST=open/test/hotspot/jtreg/compiler/intrinsics/bmi/TestLzcntL.java

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:open/test/hotspot/jtreg/compiler/intrinsics/bmi/TestLzcntL.java
                                                         1     1     0     0   
==============================
TEST SUCCESS


Closing this PR.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22596#issuecomment-2523966011


More information about the hotspot-compiler-dev mailing list