Details
-
Bug
-
Resolution: Fixed
-
P4
-
19
-
b21
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8307240 | 17.0.9-oracle | Vikrant Agarwal | P4 | Resolved | Fixed | b01 |
JDK-8311818 | 17.0.9 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
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.
```
==============================
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
- backported by
-
JDK-8307240 Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
- Resolved
-
JDK-8311818 Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/5fd04f90
-
Commit openjdk/jdk/1f9f8738
-
Review openjdk/jdk17u-dev/1548
-
Review openjdk/jdk/8495
(1 links to)