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

Not all options for JFR.dump are documented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 11, 12, 13
    • hotspot
    • jfr
    • 11
    • b27

        JDK 11 added new capabilities to the diagnostic command JFR.dump, but the options are not documented. See:

        https://docs.oracle.com/javacomponents/jmc-5-5/jfr-command-reference/diagnostic-command-reference.htm#GUID-6EB11926-4DAF-4B99-AF20-7FCD284EE6C1

        A good place to learn about the new options are the CSR request

        https://bugs.openjdk.java.net/browse/JDK-8203930

        It may be worth mentioning (in the documentation) that a filename is generated if the filename parameter is omitted, and that a directory can be used as a filename and the file will be generated in that directory This is important for users who want to automate dumps in script, for example in a cronjob. For an example, see

        https://stackoverflow.com/questions/55257190/trying-to-automate-java-mission-control-is-it-possible

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: