The first example displayed by -XX:StartFlightRecording:help looks strange.
"Example usage:
-XX:StartFlightRecording:
-XX:StartFlightRecording:filename=dump.jfr
-XX:StartFlightRecording:filename=/directory/recordings
-XX:StartFlightRecording:dumponexit=true
-XX:StartFlightRecording:maxage=1h,maxsize=1000M
-XX:StartFlightRecording:settings=profile"
It should just be "-XX:StartFlightRecording"
"Example usage:
-XX:StartFlightRecording:
-XX:StartFlightRecording:filename=dump.jfr
-XX:StartFlightRecording:filename=/directory/recordings
-XX:StartFlightRecording:dumponexit=true
-XX:StartFlightRecording:maxage=1h,maxsize=1000M
-XX:StartFlightRecording:settings=profile"
It should just be "-XX:StartFlightRecording"