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

JFR: Allow use of .jfc options when starting JFR

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: