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

compiler/aot tests fail with -Xint

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11, 16, 17
    • Fix Version/s: 17
    • Component/s: hotspot

      Description

      If you run current compiler/aot test with -Xint, they would fail:

      $ CONF=linux-x86_64-server-fastdebug make images run-test TEST=compiler/aot TEST_VM_OPTS=-Xint
      ...
      STDERR:
       stdout: [];
       stderr: [OpenJDK 64-Bit Server VM warning: JVMCI Compiler disabled due to -Xint.
      Exception in thread "main" java.lang.Error: The EnableJVMCI VM option must be true (i.e., -XX:+EnableJVMCI) to use JVMCI
      at jdk.internal.vm.ci/jdk.vm.ci.services.Services.checkJVMCIEnabled(Services.java:83)
      at jdk.internal.vm.ci/jdk.vm.ci.services.Services.getSavedProperties(Services.java:91)
      at jdk.internal.vm.ci/jdk.vm.ci.services.Services.getSavedProperty(Services.java:123)
      at jdk.internal.vm.ci/jdk.vm.ci.common.InitTimer.isEnabled(InitTimer.java:76)
      at jdk.internal.vm.ci/jdk.vm.ci.common.InitTimer.timer(InitTimer.java:63)
      at jdk.internal.vm.compiler@17-internal/org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.parseOptions(HotSpotGraalOptionValues.java:102)
      at jdk.internal.vm.compiler@17-internal/org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.initializeOptions(HotSpotGraalOptionValues.java:156)
      at jdk.internal.vm.compiler@17-internal/org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.defaultOptions(HotSpotGraalOptionValues.java:84)
      at jdk.aot@17-internal/jdk.tools.jaotc.Main.run(Main.java:173)
      at jdk.aot@17-internal/jdk.tools.jaotc.Main.run(Main.java:136)
      at jdk.aot@17-internal/jdk.tools.jaotc.Main.main(Main.java:92)

        Attachments

          Activity

            People

            • Assignee:
              iignatyev Igor Ignatyev
              Reporter:
              shade Aleksey Shipilev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: