< prev index next >

test/jdk/tools/launcher/TooSmallStackSize.java

Print this page
rev 54472 : 8222334: java -Xss0 triggers StackOverflowError
Summary: Launcher to use the ThreadStackSize decided by hotpot or system if input is 0
Reviewed-by: dholmes

*** 169,175 **** --- 169,181 ---- /* * Try again with a size that is not OS page aligned. This is to help test that * asserts added for 8176768 are not triggered. */ checkMinStackAllowed("513k"); + + /* + * Try with 0k which indicates that the default thread stack size either from JVM or system + * will be used, this should always succeed. It can verify the issue fixed in 8222334. + */ + checkMinStackAllowed("0k"); } }
< prev index next >