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

compiler/graalunit/JttThreadsTest.java failed with org.junit.runners.model.TestTimedOutException: test timed out after 20 seconds

    Details

    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      There was 1 failure:
      1) run0(org.graalvm.compiler.jtt.threads.Monitor_contended01)
      org.junit.runners.model.TestTimedOutException: test timed out after 20 seconds
      at java.base@11-internal/java.lang.ClassLoader.defineClass2(Native Method)
      at java.base@11-internal/java.lang.ClassLoader.defineClass(ClassLoader.java:1108)
      at java.base@11-internal/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:206)
      at java.base@11-internal/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:760)
      at java.base@11-internal/jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(BuiltinClassLoader.java:681)
      at java.base@11-internal/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:606)
      at java.base@11-internal/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
      at java.base@11-internal/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      at java.base@11-internal/java.lang.Class.forName0(Native Method)
      at java.base@11-internal/java.lang.Class.forName(Class.java:398)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.resolveToClass(ClassfileBytecodeProvider.java:143)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.classfile.ClassfileConstant$ClassRef.resolve(ClassfileConstant.java:103)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.classfile.ClassfileConstant$ClassRef.loadReferencedType(ClassfileConstant.java:96)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.classfile.ClassfileConstant$MemberRef.loadReferencedType(ClassfileConstant.java:122)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.classfile.ClassfileConstantPool.loadReferencedType(ClassfileConstantPool.java:142)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:3954)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:3920)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1422)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4833)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3135)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2944)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:888)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:782)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:95)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.buildInitialGraph(ReplacementsImpl.java:462)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.makeGraph(ReplacementsImpl.java:366)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.ReplacementsImpl.makeGraph(ReplacementsImpl.java:326)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.ReplacementsImpl.getSnippet(ReplacementsImpl.java:231)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.SnippetTemplate.<init>(SnippetTemplate.java:716)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.template(SnippetTemplate.java:660)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.replacements.InstanceOfSnippetsTemplates.lower(InstanceOfSnippetsTemplates.java:101)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.hotspot.meta.DefaultHotSpotLoweringProvider.lower(DefaultHotSpotLoweringProvider.java:261)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.hotspot.amd64.AMD64HotSpotLoweringProvider.lower(AMD64HotSpotLoweringProvider.java:84)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.nodes.java.InstanceOfDynamicNode.lower(InstanceOfDynamicNode.java:91)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.process(LoweringPhase.java:465)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round$ProcessFrame.preprocess(LoweringPhase.java:405)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase.processBlock(LoweringPhase.java:564)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase$Round.run(LoweringPhase.java:390)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:56)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:38)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase.lower(LoweringPhase.java:261)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:254)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:93)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:261)
      at platform/jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:180)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.compile(GraalCompilerTest.java:1060)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:957)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:898)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.executeActual(GraalCompilerTest.java:734)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.executeActualCheckDeopt(GraalCompilerTest.java:866)
      at app//org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:856)
      at app//org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:111)
      at app//org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:94)
      at app//org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:90)
      at app//org.graalvm.compiler.jtt.threads.Monitor_contended01.run0(Monitor_contended01.java:88)
      at java.base@11-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base@11-internal/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base@11-internal/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base@11-internal/java.lang.reflect.Method.invoke(Method.java:566)
      at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at app//org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      at java.base@11-internal/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base@11-internal/java.lang.Thread.run(Thread.java:834)

      FAILURES!!!
      Tests run: 67, Failures: 1

        Attachments

          Activity

            People

            • Assignee:
              epavlova Ekaterina Pavlova
              Reporter:
              xyin Chris Yin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: