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

JFR: Allow use of .jfc options when starting JFR

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 17
    • None
    • hotspot
    • jfr
    • b26

    Description

      The 'jfr configure' command introduced a way to specify options located in a .jfc from the shell, i.e.

      $ jfr configure gc=high
      $ java -XX:StartFlightRecording:settings=custom.jfc

      It would be nice if the same could be done from command line or jcmd, i.e.

      $ java -XX:StartFlightRecording:gc=high

      $ jcmd <pid> JFR.start gc=high

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: