Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions test/jdk/sun/tools/jhsdb/JShellHeapDumpTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,7 @@ public static void launchJshell() throws IOException {
long startTime = System.currentTimeMillis();
try {
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jshell");
if (doSleep) {
launcher.addVMArgs(Utils.getTestJavaOpts());
} else {
// Don't allow use of SerialGC. See JDK-8313655.
launcher.addVMArgs(Utils.getFilteredTestJavaOpts("-XX:\\+UseSerialGC"));
}
launcher.addVMArgs(Utils.getTestJavaOpts());
ProcessBuilder pb = new ProcessBuilder(launcher.getCommand());
// Needed so we can properly parse the "Welcome to JShell" output.
pb.command().add("-J-Duser.language=en");
Expand Down