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

[TESTBUG] compiler/whitebox/OSRFailureLevel4Test.java failed when TieredCompilation is disabled

XMLWordPrintable

    • b12

      This can be reproduced by using the jdk which is configured with --with-jvm-features=-compiler1.

      ...
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+TieredCompilation compiler.whitebox.OSRFailureLevel4Test
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+TieredCompilation compiler.whitebox.OSRFailureLevel4Test
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      elapsed time (seconds): 101.133
      configuration:
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      STDOUT:
      STDERR:
      OpenJDK 64-Bit Server VM warning: -XX:+TieredCompilation not supported in this VM
      java.lang.AssertionError: Never reached level 1
      at compiler.whitebox.OSRFailureLevel4Test.test(OSRFailureLevel4Test.java:85)
      at compiler.whitebox.OSRFailureLevel4Test.main(OSRFailureLevel4Test.java:54)
      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:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Never reached level 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Never reached level 1
      ...

            aoqi Qi Ao
            aoqi Qi Ao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: