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

compiler/tiered/Level2RecompilationTest.java fails when XX:TieredStopAtLevel=1/2/3 is set

    Details

    • Subcomponent:
    • Resolved In Build:
      b24

      Backports

        Description

        Test compiler/tiered/Level2RecompilationTest.java expect C2 to be enabled and fails otherwise with:
        ----------System.err:(30/2484)----------
        Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
        java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
        at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
        at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
        at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
        at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
        at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
        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:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:830)
        java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
        at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
        at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
        at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
        at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
        at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
        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:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:830)

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

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iignatyev Igor Ignatyev
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: