@@ -1710,10 +1710,12 @@ This prevents the JVM from exiting and keeps the process active so that
1710
1710
you can attach a debugger to it to investigate the cause of the error.
1711
1711
By default, this option is disabled.
1712
1712
.TP
1713
- \f[ V ] -XX:StartFlightRecording= \f[ R ]\f[I] parameter \f[ R ]\f[ V ] =\f[ R ]\f[I] value \f[ R ]
1713
+ \f[ V ] -XX:StartFlightRecording: \f[ R ]\f[I] parameter \f[ R ]\f[ V ] =\f[ R ]\f[I] value \f[ R ]
1714
1714
Starts a JFR recording for the Java application.
1715
1715
This option is equivalent to the \f[ V ] JFR.start\f[ R ] diagnostic command
1716
1716
that starts a recording during runtime.
1717
+ \f[ V ] -XX:StartFlightRecording:help\f[ R ] prints available options and
1718
+ example command lines.
1717
1719
You can set the following \f[I] parameter \f[ R ]\f[ V ] =\f[ R ]\f[I] value \f[ R ]
1718
1720
entries when starting a JFR recording:
1719
1721
.RS
@@ -1760,6 +1762,8 @@ written when the recording is stopped, for example:
1760
1762
.PP
1761
1763
If %p and/or %t is specified in the filename, it expands to the
1762
1764
JVM\[aq ] s PID and the current timestamp, respectively.
1765
+ The filename may also be a directory in which case, the filename is
1766
+ generated from the PID and the current date in the specified directory.
1763
1767
.RE
1764
1768
.TP
1765
1769
\f[ V ] name=\f[ R ]\f[I] identifier \f[ R ]
@@ -1840,6 +1844,9 @@ The whitespace delimiter can be omitted for timespan values, i.e.
1840
1844
20ms.
1841
1845
For more information about the settings syntax, see Javadoc of the
1842
1846
jdk.jfr package.
1847
+ .PP
1848
+ To only see warnings and errors from JFR during startup set
1849
+ -Xlog:jfr+startup=warning.
1843
1850
.RE
1844
1851
.TP
1845
1852
\f[ V ] -XX:ThreadStackSize=\f[ R ]\f[I] size \f[ R ]
0 commit comments