test/compiler/c2/8007294/Test8007294.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff test/compiler/c2/8007294/Test8007294.java

test/compiler/c2/8007294/Test8007294.java

Print this page
rev 10019 : 8146999: hotspot/test/compiler/c2/8007294/Test8007294.java test nightly failure
Summary: uncast() fails with CheckCastPP
Reviewed-by: kvn, thartmann

*** 22,31 **** --- 22,32 ---- */ /* * @test * @bug 8007294 + * @bug 8146999 * @summary ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline -XX:-UseOnStackReplacement -XX:-BackgroundCompilation Test8007294 * */
*** 80,89 **** --- 81,91 ---- failed = true; break; } } for (int i = 0; i < 20000; i++) { + test2(0); // pollute profile int res = test2(1); if (res != 2) { System.out.println("FAILED test2 = " + res); failed = true; break;
test/compiler/c2/8007294/Test8007294.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File