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

compiler/whitebox/EnqueueMethodForCompilationTest.java fails with "compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      compiler/whitebox/EnqueueMethodForCompilationTest.java

      Here's a snippet from the log file:

      on exception 'private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled':
      private compiler.whitebox.SimpleTestCaseHelper(int):
      compilable: true
      compiled: false
      comp_level: 0
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: false
      compile_queues_size: 54

         1010 306 java.lang.String::indexOf (29 bytes)
         1015 302 java.lang.StringLatin1::indexOf (36 bytes)
      ----------System.err:(29/2387)----------
      java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
      at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:258)
      at compiler.whitebox.EnqueueMethodForCompilationTest.test(EnqueueMethodForCompilationTest.java:83)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
      at compiler.whitebox.EnqueueMethodForCompilationTest.main(EnqueueMethodForCompilationTest.java:50)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      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:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
      at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:258)
      at compiler.whitebox.EnqueueMethodForCompilationTest.test(EnqueueMethodForCompilationTest.java:83)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
      at compiler.whitebox.EnqueueMethodForCompilationTest.main(EnqueueMethodForCompilationTest.java:50)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      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:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
      JavaTest Message: shutting down test

      This test task's JVM args are:
      -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+DeoptimizeALot

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iignatyev Igor Ignatyev
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: