Skip to content

8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process #26711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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