8359248: JFR: Help text for-XX:StartFlightRecording:report-on-exit should explain option can be repeated

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2025-06-16 09:09:55 +00:00
parent 79497ef7f5
commit fedd0a0ee3
2 changed files with 9 additions and 6 deletions

View File

@ -1449,9 +1449,10 @@ These `java` options control the runtime behavior of the Java HotSpot VM.
`report-on-exit=`*identifier*
: Specifies the name of the view to display when the Java Virtual Machine
(JVM) shuts down. This option is not available if the disk option is set
to false. For a list of available views, see `jfr help view`. By default,
no report is generated.
(JVM) shuts down. To specify more than one view, use the report-on-exit
parameter repeatedly. This option is not available if the disk option
is set to false. For a list of available views, see `jfr help view`.
By default, no report is generated.
`settings=`*path*
: Specifies the path and name of the event settings file (of type JFC).

View File

@ -502,9 +502,11 @@ final class DCmdStart extends AbstractDCmd {
"""
report-on-exit Specifies the name of the view to display when the Java Virtual
Machine (JVM) shuts down. This option is not available if the
disk option is set to false. For a list of available views,
see 'jfr help view'. By default, no report is generated.
Machine (JVM) shuts down. To specify more than one view, use
the `report-on-exit` parameter repeatedly, for each view. This
option is not available if the disk option is set to false.
For a list of available views, see `jfr help view`. By default,
no report is generated.
""";
}