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

JFR: New configure command for the jfr tool

    XMLWordPrintable

Details

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

    Description

      A jfc-file today consists of two parts, one part that actually configures the event settings the JVM uses and one part with higher level concepts (controls or parameterizations) that is more user friendly, i.e "Allocation Profiling" is a boolean control that can enable/disable both the "Allocation outside TLA" and "Allocation inside TLA" event.

      The control elements are shown to the user in Mission Control as check boxes, comboboxes and input fields with validation and they greatly simplifies the configuration of Flight Recorder.

      In a first step, the 'jfr' tool will be extended to generate a new .jfc file:

          $ jfr configure allocation-profiling=true
          New configuration written to custom.jfc

      The functionality will then be added to -XX:StartFlightRecording and jcmd JFR.start.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: