Details
-
Bug
-
Resolution: Fixed
-
P3
-
11, 16, 17
-
b20
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8265975 | 11.0.12-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b03 |
Description
After backporting JDK-8264918 to JDK 11u, compiler/graalunit/HotspotTest.java fails:
test1(org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest)
java.lang.InternalError: Class java.lang.Object does not implement interface jdk.vm.ci.meta.JavaType
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.getVtableIndexForInterfaceMethod(Native Method)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getVtableIndexForInterfaceMethod(HotSpotResolvedJavaMethodImpl.java:703)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getVtableIndex(HotSpotResolvedJavaMethodImpl.java:683)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.isInVirtualMethodTable(HotSpotResolvedJavaMethodImpl.java:669)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.meta.DefaultHotSpotLoweringProvider.lowerInvoke(DefaultHotSpotLoweringProvider.java:498)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.meta.DefaultHotSpotLoweringProvider.lower(DefaultHotSpotLoweringProvider.java:257)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.amd64.AMD64HotSpotLoweringProvider.lower(AMD64HotSpotLoweringProvider.java:92)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.nodes.InvokeNode.lower(InvokeNode.java:190)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.process(LoweringPhase.java:475)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round$ProcessFrame.preprocess(LoweringPhase.java:415)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.processBlock(LoweringPhase.java:574)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.run(LoweringPhase.java:400)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:209)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:56)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:38)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.lower(LoweringPhase.java:271)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:264)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:94)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:209)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:220)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:144)
at org.graalvm.compiler.core.test.GraalCompilerTest.compile(GraalCompilerTest.java:1103)
at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:996)
at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:933)
at org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.test1(InstalledCodeExecuteHelperTest.java:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at com.oracle.mxtool.junit.MxJUnitWrapper.runRequest(MxJUnitWrapper.java:280)
at com.oracle.mxtool.junit.MxJUnitWrapper.main(MxJUnitWrapper.java:196)
test1(org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest)
java.lang.InternalError: Class java.lang.Object does not implement interface jdk.vm.ci.meta.JavaType
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.getVtableIndexForInterfaceMethod(Native Method)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getVtableIndexForInterfaceMethod(HotSpotResolvedJavaMethodImpl.java:703)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.getVtableIndex(HotSpotResolvedJavaMethodImpl.java:683)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl.isInVirtualMethodTable(HotSpotResolvedJavaMethodImpl.java:669)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.meta.DefaultHotSpotLoweringProvider.lowerInvoke(DefaultHotSpotLoweringProvider.java:498)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.meta.DefaultHotSpotLoweringProvider.lower(DefaultHotSpotLoweringProvider.java:257)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.hotspot.amd64.AMD64HotSpotLoweringProvider.lower(AMD64HotSpotLoweringProvider.java:92)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.nodes.InvokeNode.lower(InvokeNode.java:190)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.process(LoweringPhase.java:475)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round$ProcessFrame.preprocess(LoweringPhase.java:415)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.processBlock(LoweringPhase.java:574)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.run(LoweringPhase.java:400)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:209)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:56)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:38)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.lower(LoweringPhase.java:271)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:264)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:94)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:209)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:220)
at jdk.internal.vm.compiler@11.0.12-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:144)
at org.graalvm.compiler.core.test.GraalCompilerTest.compile(GraalCompilerTest.java:1103)
at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:996)
at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:933)
at org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest.test1(InstalledCodeExecuteHelperTest.java:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at com.oracle.mxtool.junit.MxJUnitWrapper.runRequest(MxJUnitWrapper.java:280)
at com.oracle.mxtool.junit.MxJUnitWrapper.main(MxJUnitWrapper.java:196)
Attachments
Issue Links
- backported by
-
JDK-8265975 JVMCI: InternalError: Class java.lang.Object does not implement interface jdk.vm.ci.meta.JavaType
- Resolved
- relates to
-
JDK-8264918 [JVMCI] getVtableIndexForInterfaceMethod doesn't check that type and method are related
- Resolved