Skip to content

Commit e9daf4a

Browse files
committed
8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Reviewed-by: kevinw, cjplummer, dholmes
1 parent 117f42d commit e9daf4a

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

test/hotspot/jtreg/serviceability/attach/ShMemLongName.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -95,7 +95,6 @@ private static void log(String s) {
9595
private static ProcessBuilder getTarget(String shmemName) throws IOException {
9696
log("starting target with shmem name: '" + shmemName + "'...");
9797
return ProcessTools.createJavaProcessBuilder(
98-
"-Xdebug",
9998
"-Xrunjdwp:transport=" + transport + ",server=y,suspend=n,address=" + shmemName,
10099
"ShMemLongName$Target");
101100
}

test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach004/TestDriver.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -92,7 +92,6 @@ private static Process startDebuggee(String[] jdiArgs, String transport, String
9292
Collections.addAll(cmd, Utils.prependTestJavaOpts(
9393
"-cp",
9494
Utils.TEST_CLASS_PATH,
95-
"-Xdebug",
9695
"-agentlib:jdwp=transport=" + transport + ",server=y,suspend=" + suspend,
9796
"-Dmy.little.cookie=" + ProcessHandle.current().pid(),
9897
debuggeeClass.getName()));

test/hotspot/jtreg/vmTestbase/nsk/share/jpda/DebugeeBinder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ public String[] makeCommandLineArgs(String classToExecute, String transportAddre
328328
args.add(classPath);
329329
*/
330330

331-
args.add("-Xdebug");
332-
333331
String server;
334332
if (argumentHandler.isAttachingConnector()) {
335333
server = "y";

0 commit comments

Comments
 (0)