-
Bug
-
Resolution: Not an Issue
-
P4
-
13, 14
When limiting the modules of a runtime image via --limit-modules to a restricted subset, the VM can't initialize in graal mode due to missing module jdk.internal.vm.compiler.
The issue can be demonstrated with test cases
langtools/tools/javac/file/LimitedImage.java
langtools/tools/javac/modules/InheritRuntimeEnvironmentTest.java
when run with graal switches:
-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal
It should be possible to create a simpler test case for this, e.g. call a hello world on a limited runtime.
The issue can be demonstrated with test cases
langtools/tools/javac/file/LimitedImage.java
langtools/tools/javac/modules/InheritRuntimeEnvironmentTest.java
when run with graal switches:
-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal
It should be possible to create a simpler test case for this, e.g. call a hello world on a limited runtime.
- relates to
-
JDK-8228571 [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512
-
- Resolved
-
-
JDK-8227512 [TESTBUG] Fix JTReg javac test failures with Graal
-
- Resolved
-