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

[Graal] compiler/aot/RecompilationTest.java fails in case UseJVMCICompiler is enabled

XMLWordPrintable

    • b22

      compiler/aot/RecompilationTest.java fails in case Graal is used as a jit.
      The error message is:

      ----------System.err:(33/2635)----------
      java.lang.RuntimeException: CONSTRUCTOR_TEST: expected compilation level after compilation to be no less than 1 for CONSTRUCTOR_TEST: expected -1 >= 1
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertGreaterThanOrEqual(Asserts.java:288)
      at jdk.test.lib.Asserts.assertGTE(Asserts.java:259)
      at compiler.aot.RecompilationTest.test(RecompilationTest.java:114)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:135)
      at compiler.aot.RecompilationTest.main(RecompilationTest.java:86)
      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)


      Note, the test calls CompilerWhiteBoxTest.compile() which tries to trigger compilation of RecompilationTest::new by calling #getCallable()} THRESHOLD times (THRESHOLD is equal to 150000).

      I tried to increase THRESHOLD but nothing changed.

            iveresov Igor Veresov
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: