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

[TESTBUG] compiler/whitebox/DeoptimizeFramesTest.java fails with "java.lang.RuntimeException: should be the same nmethod: expected 58 to equal 59"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 11
    • 11
    • hotspot

      ----------System.out:(27/704)----------
      CompileCommand: compileonly compiler/whitebox/DeoptimizeFramesTest$TestCaseImpl.method
      TEST CASE:2phases
      DeoptimizeFramesTest(makeNotEntrant = true)
      at test's start:

      private int compiler.whitebox.DeoptimizeFramesTest$TestCaseImpl.method():
      compilable: true
      compiled: false
      comp_level: 0
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: false
      compile_queues_size: 0

      on exception 'should be the same nmethod: expected 58 to equal 59':
      private int compiler.whitebox.DeoptimizeFramesTest$TestCaseImpl.method():
      compilable: true
      compiled: true
      compile_id: 59
      comp_level: 4
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: false
      compile_queues_size: 0

      ----------System.err:(32/2323)----------
      Warning: private int compiler.whitebox.DeoptimizeFramesTest$TestCaseImpl.method() is still in queue after 10252ms
      java.lang.RuntimeException: should be the same nmethod: expected 58 to equal 59
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at compiler.whitebox.DeoptimizeFramesTest.test(DeoptimizeFramesTest.java:86)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
      at compiler.whitebox.DeoptimizeFramesTest.main(DeoptimizeFramesTest.java:73)
      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 com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)
      java.lang.RuntimeException: should be the same nmethod: expected 58 to equal 59
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at compiler.whitebox.DeoptimizeFramesTest.test(DeoptimizeFramesTest.java:86)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
      at compiler.whitebox.DeoptimizeFramesTest.main(DeoptimizeFramesTest.java:73)
      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 com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: should be the same nmethod: expected 58 to equal 59
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: should be the same nmethod: expected 58 to equal 59

            kvn Vladimir Kozlov
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: