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

[AOT] DeoptimizationTest fails with "Method expected to be compiled: expected true, was false"

XMLWordPrintable

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

      command: main -Xmixed -XX:+UseAOT -XX:+TieredCompilation -XX:-UseCompressedOops -XX:CompileCommand=dontinline,compiler.aot.DeoptimizationTest::* -XX:AOTLibrary=./libDeoptimizationTest.so -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.aot.DeoptimizationTest
      reason: User specified action: run main/othervm -Xmixed -XX:+UseAOT -XX:+TieredCompilation -XX:-UseCompressedOops -XX:CompileCommand=dontinline,compiler.aot.DeoptimizationTest::* -XX:AOTLibrary=./libDeoptimizationTest.so -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.aot.DeoptimizationTest
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      elapsed time (seconds): 1.243
      ----------configuration:(3/67)----------
      Boot Layer
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(1/61)----------
      CompileCommand: dontinline compiler/aot/DeoptimizationTest.*
      ----------System.err:(16/1104)----------
      java.lang.RuntimeException: Method expected to be compiled: expected true, was false
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
      at compiler.aot.DeoptimizationTest.test(DeoptimizationTest.java:76)
      at compiler.aot.DeoptimizationTest.main(DeoptimizationTest.java:68)
      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:538)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Method expected to be compiled: expected true, was false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Method expected to be compiled: expected true, was false

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: