提交 e4f9e6ab 编写于 作者: K ksrini

7148499: Stack size in tools/launcher/Settings.java needs to be increased

Reviewed-by: alanb
上级 a71380fd
...@@ -331,9 +331,6 @@ sun/jvmstat/monitor/MonitoredVm/CR6672135.java generic-all ...@@ -331,9 +331,6 @@ sun/jvmstat/monitor/MonitoredVm/CR6672135.java generic-all
tools/pack200/CommandLineTests.java generic-all tools/pack200/CommandLineTests.java generic-all
tools/pack200/Pack200Test.java generic-all tools/pack200/Pack200Test.java generic-all
# 7148499
tools/launcher/Settings.java generic-all
############################################################################ ############################################################################
# jdk_util # jdk_util
......
...@@ -75,14 +75,14 @@ public class Settings extends TestHelper { ...@@ -75,14 +75,14 @@ public class Settings extends TestHelper {
static void runTestOptionDefault() throws IOException { static void runTestOptionDefault() throws IOException {
TestResult tr = null; TestResult tr = null;
tr = doExec(javaCmd, "-Xms64m", "-Xmx512m", tr = doExec(javaCmd, "-Xms64m", "-Xmx512m",
"-Xss128k", "-XshowSettings", "-jar", testJar.getAbsolutePath()); "-Xss256k", "-XshowSettings", "-jar", testJar.getAbsolutePath());
containsAllOptions(tr); containsAllOptions(tr);
if (!tr.isOK()) { if (!tr.isOK()) {
System.out.println(tr.status); System.out.println(tr.status);
throw new RuntimeException("test fails"); throw new RuntimeException("test fails");
} }
tr = doExec(javaCmd, "-Xms65536k", "-Xmx712m", tr = doExec(javaCmd, "-Xms65536k", "-Xmx712m",
"-Xss122880", "-XshowSettings", "-jar", testJar.getAbsolutePath()); "-Xss256000", "-XshowSettings", "-jar", testJar.getAbsolutePath());
containsAllOptions(tr); containsAllOptions(tr);
if (!tr.isOK()) { if (!tr.isOK()) {
System.out.println(tr.status); System.out.println(tr.status);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册