RFR: 8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=

Chris Plummer cjplummer at openjdk.java.net
Mon Apr 19 21:16:08 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

Sorry, I accidentally stuck an "integrate" label in this PR (was meant for my own PR). I immediately deleted it. Hopefully no harm done.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3561


More information about the serviceability-dev mailing list