8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg

Reviewed-by: kevinw, cjplummer, dholmes
This commit is contained in:
Jaikiran Pai 2023-07-26 07:34:52 +00:00
parent 117f42dbe9
commit e9daf4a018
3 changed files with 2 additions and 6 deletions
test/hotspot/jtreg
serviceability/attach
vmTestbase/nsk
jdi/AttachingConnector/attach/attach004
share/jpda

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -95,7 +95,6 @@ public class ShMemLongName {
private static ProcessBuilder getTarget(String shmemName) throws IOException {
log("starting target with shmem name: '" + shmemName + "'...");
return ProcessTools.createJavaProcessBuilder(
"-Xdebug",
"-Xrunjdwp:transport=" + transport + ",server=y,suspend=n,address=" + shmemName,
"ShMemLongName$Target");
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -92,7 +92,6 @@ public class TestDriver {
Collections.addAll(cmd, Utils.prependTestJavaOpts(
"-cp",
Utils.TEST_CLASS_PATH,
"-Xdebug",
"-agentlib:jdwp=transport=" + transport + ",server=y,suspend=" + suspend,
"-Dmy.little.cookie=" + ProcessHandle.current().pid(),
debuggeeClass.getName()));

@ -328,8 +328,6 @@ public class DebugeeBinder extends Log.Logger implements Finalizable {
args.add(classPath);
*/
args.add("-Xdebug");
String server;
if (argumentHandler.isAttachingConnector()) {
server = "y";