RFR: 8218997: Xusage text, man help, etc doesn't mention -Xlog option.
Henry Jen
henry.jen at oracle.com
Tue May 21 22:41:11 UTC 2019
Hi,
Please review a trivial patch that add some hints about how to use -Xlog in java help and man page.
diff -r cd3eeeec74c0 src/java.base/share/classes/sun/launcher/resources/launcher.properties
--- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties Tue May 21 15:08:50 2019 -0700
+++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties Tue May 21 15:31:52 2019 -0700
@@ -138,6 +138,7 @@
\ -Xinternalversion\n\
\ displays more detailed JVM version information than the\n\
\ -version option\n\
+\ -Xlog:<opts> control JVM logging, use -Xlog:help for details
\ -Xloggc:<file> log GC status to a file with time stamps\n\
\ -Xmixed mixed mode execution (default)\n\
\ -Xmn<size> sets the initial and maximum size (in bytes) of the heap\n\
diff -r cd3eeeec74c0 src/java.base/share/man/java.1
--- a/src/java.base/share/man/java.1 Tue May 21 15:08:50 2019 -0700
+++ b/src/java.base/share/man/java.1 Tue May 21 15:31:52 2019 -0700
@@ -732,6 +732,11 @@
option, and then exits\&.
.RE
.PP
+\-Xlog:\fIopts\fR
+.RS 4
+Control JVM logging, use \fB\-Xlog:help\fR for details.
+.RE
+.PP
\-Xloggc:\fIfilename\fR
.RS 4
Sets the file to which verbose GC events information should be redirected for logging\&. The information written to this file is similar to the output of
Cheers,
Henry
More information about the core-libs-dev
mailing list