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

Runtime image with limited modules can't initialize in graal mode

XMLWordPrintable

      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.

            Unassigned Unassigned
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: