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

compiler/tiered/LevelTransitionTest.java fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1

    XMLWordPrintable

Details

    • b27

    Backports

      Description

        Test compiler/tiered/LevelTransitionTest.java should be skipped if C1 compiler is enabled only. The test fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1:

        java.lang.RuntimeException: public int compiler.tiered.LevelTransitionTest$ExtendedTestCase$CompileMethodHolder.nonTrivialMethod() must not be osr_compiled
        at compiler.whitebox.CompilerWhiteBoxTest.checkNotCompiled(CompilerWhiteBoxTest.java:231)
        at compiler.whitebox.CompilerWhiteBoxTest.checkNotCompiled(CompilerWhiteBoxTest.java:213)
        at compiler.tiered.LevelTransitionTest.checkTransitions(LevelTransitionTest.java:96)
        at compiler.tiered.LevelTransitionTest.test(LevelTransitionTest.java:89)
        at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:168)
        at compiler.tiered.LevelTransitionTest.main(LevelTransitionTest.java:69)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1570)

        Attachments

          Issue Links

            Activity

              People

                thartmann Tobias Hartmann
                lmesnik Leonid Mesnik
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: