-
Bug
-
Resolution: Fixed
-
P2
-
11, 17, 19, 21, 25
-
master
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8360118 | 25 | Roland Westrelin | P2 | Open | Unresolved |
Attached Test.java fails when C2 compiled.
static void test() {
for (int i = 1500; i > 0; i--) {
try {
int tmp = array[idx--];
} catch (Exception e) {
// Ignore
}
}
}
java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::test -XX:-TieredCompilation -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM Test.java
Exception in thread "main" java.lang.RuntimeException: Wrong result: -2500 != -1500
at Test.main(Test.java:43)
static void test() {
for (int i = 1500; i > 0; i--) {
try {
int tmp = array[idx--];
} catch (Exception e) {
// Ignore
}
}
}
java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::test -XX:-TieredCompilation -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM Test.java
Exception in thread "main" java.lang.RuntimeException: Wrong result: -2500 != -1500
at Test.main(Test.java:43)
- backported by
-
JDK-8360118 C2: loop strip mining expansion doesn't take sunk stores into account
-
- Open
-
- caused by
-
JDK-8281322 C2: always construct strip mined loop initially (even if strip mining is disabled)
-
- Resolved
-
- relates to
-
JDK-8359440 C2: improve IR test coverage of basic loop optimizations
-
- Open
-
-
JDK-8360096 C2/loop strip mining: investigate fully built outer loop from construction
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/c11f36e6
-
Review(jdk25) openjdk/jdk/25929
-
Review(master) openjdk/jdk/25717
(2 links to)