Enabling Java Flight Recorder
Launch your Java application with the -XX:+FlightRecorder option along with commercial features using the -XX:+UnlockCommercialFeatures options.
For example, to enable JFR when launching a Java application named GoYunApp, use the following command:
java -XX:+UnlockCommercialFeatures -XX:+FlightRecorder GoYunApp
Comments
Post a Comment