35 lines
1.9 KiB
Diff
35 lines
1.9 KiB
Diff
Date: Tue, 6 Jun 2023 02:06:23 +0000
|
|
Subject: [PATCH 15/59] 6605915: jinfo -flag <flag name> functionality doesn't work with core files
|
|
|
|
Bug url: https://bugs.openjdk.org/browse/JDK-6605915
|
|
---
|
|
jdk/src/share/classes/sun/tools/jinfo/JInfo.java | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/jdk/src/share/classes/sun/tools/jinfo/JInfo.java b/jdk/src/share/classes/sun/tools/jinfo/JInfo.java
|
|
index 7c817ba86..d5adc3537 100644
|
|
--- a/jdk/src/share/classes/sun/tools/jinfo/JInfo.java
|
|
+++ b/jdk/src/share/classes/sun/tools/jinfo/JInfo.java
|
|
@@ -196,15 +196,17 @@ public class JInfo {
|
|
if (usageSA) {
|
|
System.err.println(" jinfo [option] <pid>");
|
|
System.err.println(" (to connect to running process)");
|
|
- System.err.println(" jinfo [option] <executable <core>");
|
|
+ System.err.println(" jinfo [option] <executable> <core>");
|
|
System.err.println(" (to connect to a core file)");
|
|
System.err.println(" jinfo [option] [server_id@]<remote server IP or hostname>");
|
|
System.err.println(" (to connect to remote debug server)");
|
|
System.err.println("");
|
|
System.err.println("where <option> is one of:");
|
|
+ System.err.println(" for running processes:");
|
|
System.err.println(" -flag <name> to print the value of the named VM flag");
|
|
System.err.println(" -flag [+|-]<name> to enable or disable the named VM flag");
|
|
System.err.println(" -flag <name>=<value> to set the named VM flag to the given value");
|
|
+ System.err.println(" for running processes and core files:");
|
|
System.err.println(" -flags to print VM flags");
|
|
System.err.println(" -sysprops to print Java system properties");
|
|
System.err.println(" <no option> to print both of the above");
|
|
--
|
|
2.22.0
|
|
|