test/compiler/c2/8007294/Test8007294.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/compiler/c2/8007294/Test8007294.java Mon Jan 18 21:38:35 2016
--- new/test/compiler/c2/8007294/Test8007294.java Mon Jan 18 21:38:34 2016
*** 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