RFR: 8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions= [v2]
egahlin at openjdk.java.net
Tue Apr 20 07:55:08 UTC 2021
On Mon, 19 Apr 2021 20:16:59 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> 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?
It's a good idea, but it requires changes outside OpenJDK which I rather not do now. I'm sure somebody will reintroduce '=', so this is not so much about getting rid of them all, but to avoid them being propagated, when code is copy pasted for new tests etc.
More information about the core-libs-dev