8303249: JFR: Incorrect description of dumponexit

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2023-02-27 22:33:34 +00:00
parent f7f10367b2
commit bca60f4767
2 changed files with 3 additions and 3 deletions

View File

@ -479,10 +479,10 @@ final class DCmdStart extends AbstractDCmd {
"Maximum amount of bytes to keep (on disk) in (k)B, (M)B or (G)B, e.g. 500M, or 0 for no limit",
"MEMORY SIZE", false, "250M", false),
new Argument("flush-interval",
"Dump running recording when JVM shuts down",
"Minimum time before flushing buffers, measured in (s)econds, e.g. 4 s, or 0 for flushing when a recording ends",
"NANOTIME", false, "1s", false),
new Argument("dumponexit",
"Minimum time before flushing buffers, measured in (s)econds, e.g. 4 s, or 0 for flushing when a recording ends",
"Dump running recording when JVM shuts down",
"BOOLEAN", false, "false", false),
new Argument("path-to-gc-roots",
"Collect path to GC roots",

View File

@ -103,7 +103,7 @@ final class DCmdStop extends AbstractDCmd {
public Argument[] getArgumentInfos() {
return new Argument[] {
new Argument("name",
"Recording text,.e.g \\\"My Recording\\\"",
"Recording name, e.g. \\\"My Recording\\\"",
"STRING", true, null, false),
new Argument("filename",
"Copy recording data to file, e.g. \\\"" + exampleFilename() + "\\\"",