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,33 **** /* * @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 * */ public class Test8009761 { --- 23,33 ---- /* * @test * @bug 8009761 * @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates ! * @run main/othervm -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss256K Test8009761 * */ public class Test8009761 {
*** 247,255 **** } if (c1 != count) { System.out.println("Failed: init recursive calls: " + c1 + ". After deopt " + count); System.exit(97); } else { ! System.out.println("PASSED"); } } } --- 247,255 ---- } if (c1 != count) { System.out.println("Failed: init recursive calls: " + c1 + ". After deopt " + count); System.exit(97); } else { ! System.out.println("PASSED " + c1); } } }