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

Not all options for JFR.dump are documented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11, 12, 13
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • Introduced In Version:
      11
    • Resolved In Build:
      b27

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: