mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process
Reviewed-by: lmesnik, cjplummer, sspitsyn
This commit is contained in:
parent
636c61a386
commit
25480f0011
@ -162,12 +162,7 @@ public class JShellHeapDumpTest {
|
||||
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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user