test/compiler/8009761/Test8009761.java
Print this page
rev 4507 : 8010399: Test8009761.java "Failed: init recursive calls: 5498. After deopt 5494".
Summary: test from 8009761 shouldn't be run with -Xcomp
Reviewed-by: kvn
rev 4508 : 8012037: Test8009761.java "Failed: init recursive calls: 7224. After deopt 58824"
Summary: test shouldn't be run with a modified CompileThreshold
Reviewed-by: kvn
@@ -23,11 +23,11 @@
/*
* @test
* @bug 8009761
* @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
- * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation Test8009761
+ * @run main/othervm -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss256K Test8009761
*
*/
public class Test8009761 {
@@ -247,9 +247,9 @@
}
if (c1 != count) {
System.out.println("Failed: init recursive calls: " + c1 + ". After deopt " + count);
System.exit(97);
} else {
- System.out.println("PASSED");
+ System.out.println("PASSED " + c1);
}
}
}