Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8313710

jcmd: typo in the documentation of JFR.start and JFR.dump

XMLWordPrintable

    • jfr
    • b12

        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'

              egahlin Erik Gahlin
              apangin Andrei Pangin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: