RFR: 8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=
Chris Plummer
cjplummer at openjdk.java.net
Mon Apr 19 20:20:07 UTC 2021
On Sun, 18 Apr 2021 15:17:35 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Hi,
>
> Could I have a review of fix that removes the use of "=" together with -XX:StartFlightRecording and -XX:FlightRecorderOptions. It's been possible to use "-XX:StartFlightRecording:" and "-XX:FlightRecorderOption:" since JFR was introduced into OpenJDK (JDK 11), so this is not a change of the specification, just an update to make the use consistent in tests, comments, documentation etc.
>
> I also removed the use of -XX:+FlightRecorder, which is not needed, and has been deprecated since JDK 13.
>
> Testing: jdk/jdk/jfr, tier 1-4.
>
> Thanks
> Erik
The changes look good. Have you considered doing a test run where the use of `=` and `XX:+FlightRecorder` are disallowed just to make sure you caught them all?
-------------
Marked as reviewed by cjplummer (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3561
More information about the serviceability-dev
mailing list