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

CompiledInvokeVirtual2CompiledTest.java fails with "(assert failed: 0 != 0)"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • hotspot

      The test compiler/calls/fromCompiled/CompiledInvokeVirtual2CompiledTest.java fails the following way:

      ----------messages:(3/497)----------
      command: main -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xbatch compiler.calls.common.InvokeVirtual -compileCaller 4 -checkCallerCompileLevel 4 -compileCallee 1 -checkCalleeCompileLevel 1
      reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xbatch compiler.calls.common.InvokeVirtual -compileCaller 4 -checkCallerCompileLevel 4 -compileCallee 1 -checkCalleeCompileLevel 1
      elapsed time (seconds): 11.393
      ----------System.out:(0/0)----------
      ----------System.err:(18/1156)----------
      java.lang.RuntimeException: Unexpected callee compilation level (assert failed: 1 == 0)
      at jdk.test.lib.Asserts.error(Asserts.java:447)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:374)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:169)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:143)
      at compiler.calls.common.CallsBase.runTest(CallsBase.java:158)
      at compiler.calls.common.InvokeVirtual.main(InvokeVirtual.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

            dpochepk Dmitrij Pochepko
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: