test/tools/launcher/Settings.java
Print this page
rev 13125 : 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Contributed-by: Andrew Hughes gnu.andrew@redhat.com
*** 72,82 ****
checkContains(tr, LOCALE_SETTINGS);
}
static void runTestOptionDefault() throws IOException {
String stackSize = "256"; // in kb
! if (getArch().equals("ppc64")) {
stackSize = "800";
}
TestResult tr = null;
tr = doExec(javaCmd, "-Xms64m", "-Xmx512m",
"-Xss" + stackSize + "k", "-XshowSettings", "-jar", testJar.getAbsolutePath());
--- 72,82 ----
checkContains(tr, LOCALE_SETTINGS);
}
static void runTestOptionDefault() throws IOException {
String stackSize = "256"; // in kb
! if (getArch().equals("ppc64") || getArch().equals("ppc64le")) {
stackSize = "800";
}
TestResult tr = null;
tr = doExec(javaCmd, "-Xms64m", "-Xmx512m",
"-Xss" + stackSize + "k", "-XshowSettings", "-jar", testJar.getAbsolutePath());