-
Bug
-
Resolution: Fixed
-
P5
-
None
-
b12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8329505 | 21.0.4 | Aleksey Shipilev | P5 | Resolved | Fixed | b01 |
jcmd <pid> help JFR.start
lists 'path-to-gc-root' option, however, the actual option name is 'path-to-gc-roots'
The same holds for JFR.stop documentation. Also, in the examples to JFR.dump command, there is a line with two typos:
$ jcmd <pid> JFR.dump fillename=leaks.jfr path-to-gc-root=true
Note "fillename" and "path-to-gc-root".
The manual page for "jcmd" (man jcmd) also mentions 'path-to-gc-root' instead of 'path-to-gc-roots'
lists 'path-to-gc-root' option, however, the actual option name is 'path-to-gc-roots'
The same holds for JFR.stop documentation. Also, in the examples to JFR.dump command, there is a line with two typos:
$ jcmd <pid> JFR.dump fillename=leaks.jfr path-to-gc-root=true
Note "fillename" and "path-to-gc-root".
The manual page for "jcmd" (man jcmd) also mentions 'path-to-gc-root' instead of 'path-to-gc-roots'
- backported by
-
JDK-8329505 jcmd: typo in the documentation of JFR.start and JFR.dump
- Resolved