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

jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations

XMLWordPrintable

    • b30

        The test jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails if run with -XX:-EliminateAllocations. I managed to reproduce the failure on linux-x64 with an early-access jdk9-b138 build. Here is the relevant output:

        java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl;
        at jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(jdk.vm.ci@9-ea/CompilerToVMHelper.java:177)
        at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:60)
        at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:65)
        at compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.<clinit>(MaterializeVirtualObjectTest.java:88)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
        STATUS:Failed.`main' threw exception: java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl;

              iignatyev Igor Ignatyev (Inactive)
              zmajo Zoltan Majo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: