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

LockCompilationTest.java: compiler.whitebox.SimpleTestCaseHelper.method() must not be in queue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 11
    • 10
    • hotspot

      Test: compiler/whitebox/LockCompilationTest.java

      The test is reported to have intermittent failures in JDK-8192971, but this failure isn't reported as a timeout as described in that bug.

      ----------System.out:(29/700)----------
      2 compiler directives added
      TEST CASE:METHOD_TEST
      at test's start:

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

      locking compilation
      trying to compile
      going to safepoint
      unlocking compilation
      on exception 'private int compiler.whitebox.SimpleTestCaseHelper.method() must not be in queue: expected false, was true':
      private int compiler.whitebox.SimpleTestCaseHelper.method():
      compilable: true
      compiled: false
      comp_level: 0
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: true
      compile_queues_size: 65

      ----------System.err:(31/2475)----------
      java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must not be in queue: expected false, was true
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertFalse(Asserts.java:461)
      at compiler.whitebox.LockCompilationTest.test(LockCompilationTest.java:106)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
      at compiler.whitebox.LockCompilationTest.main(LockCompilationTest.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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must not be in queue: expected false, was true
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertFalse(Asserts.java:461)
      at compiler.whitebox.LockCompilationTest.test(LockCompilationTest.java:106)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
      at compiler.whitebox.LockCompilationTest.main(LockCompilationTest.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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must not be in queue: expected false, was true
      JavaTest Message: shutting down test

            neliasso Nils Eliasson (Inactive)
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: