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

Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        9 of compiler/c2/irTests tests fail when testing with C2 disabled (e.g., --with-jvm-features=-compiler2).

        ```
        ==============================
        Test summary
        ==============================
           TEST TOTAL PASS FAIL ERROR
        >> jtreg:test/hotspot/jtreg/compiler/c2/irTests 29 20 9 0 <<
        ==============================
        TEST FAILURE

        compiler/c2/irTests/TestSkeletonPredicates.java
        compiler/c2/irTests/TestFewIterationsCountedLoop.java
        compiler/c2/irTests/TestDuplicateBackedge.java
        compiler/c2/irTests/TestStripMiningDropsSafepoint.java
        compiler/c2/irTests/TestCountedLoopSafepoint.java
        compiler/c2/irTests/TestLongRangeChecks.java
        compiler/c2/irTests/TestSuperwordFailsUnrolling.java
        compiler/c2/irTests/TestIRLShiftIdeal_XPlusX_LShiftC.java
        compiler/c2/irTests/TestIRAddIdealNotXPlusC.java
        ```

        It would be better to add `@requires vm.compiler2.enabled` to these tests.

        Attachments

          Issue Links

            Activity

              People

                jiefu Jie Fu
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: