Java Flight Recorder

Setup

Operation

Start a recording

jcmd <PID> JFR.start settings=<settingsfile>

Dump the results

jcmd <PID> JFR.dump filename=<filename>

Stop a recording

jcmd <PID> JFR.stop