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.
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.
- csr for
-
JDK-8260863 JFR: Add new 'configure' command to the jfr-tool
- Closed
- duplicates
-
JDK-8248571 JFR: 'jfr configure'
- Closed
- relates to
-
JDK-8265225 jdk/jfr/tool/TestConfigure.java fails to cleanup the output files after the testing
- Resolved