Java - Recording Java Flight Recording in Java 9

less than 1 minute read

Command line to enable Java Flight Recording feature in Java9 to measure JVM performance.

1
$ java -XX:+UnlockCommercialFeatures -XX:StartFlightRecording=filename=recording.jfr AppName