< prev index next >

test/compiler/uncommontrap/StackOverflowGuardPagesOff.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 23,36 **** /* * @test * @bug 8029383 * @summary stack overflow if callee is marked for deoptimization causes crash - * @run main/othervm -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,StackOverflowGuardPagesOff::m1 -XX:CompileCommand=exclude,StackOverflowGuardPagesOff::m2 -Xss512K -XX:-UseOnStackReplacement StackOverflowGuardPagesOff * */ // This test calls m2 recursively until a stack overflow. Then calls // m3 that calls m1. m1 triggers B's class loading, as a result m1 and // m3 needs to be deoptimized. Deoptimization of m1 causes a stack // overflow exception to be thrown which is propagated to m3 in the // deopt blob. If the guard pages are no enabled, the stack bang in --- 23,42 ---- /* * @test * @bug 8029383 * @summary stack overflow if callee is marked for deoptimization causes crash * + * @run main/othervm -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation + * -XX:CompileCommand=dontinline,compiler.uncommontrap.StackOverflowGuardPagesOff::m1 + * -XX:CompileCommand=exclude,compiler.uncommontrap.StackOverflowGuardPagesOff::m2 + * -Xss512K -XX:-UseOnStackReplacement + * compiler.uncommontrap.StackOverflowGuardPagesOff */ + package compiler.uncommontrap; + // This test calls m2 recursively until a stack overflow. Then calls // m3 that calls m1. m1 triggers B's class loading, as a result m1 and // m3 needs to be deoptimized. Deoptimization of m1 causes a stack // overflow exception to be thrown which is propagated to m3 in the // deopt blob. If the guard pages are no enabled, the stack bang in
< prev index next >