Starts or stops a Java Flight Recorder (JFR) profiling session. JFR is a diagnostic tool built into the JVM that captures detailed performance data.
/jfr (start|stop)
| Name | Required | Description |
|---|---|---|
| start|stop | Yes | Whether to begin or end the profiling session. |
/jfr start /jfr stop
.jfr file that can be analyzed with tools like JDK Mission Control.This command is not typically used from command blocks. It requires the highest permission level and is a diagnostic tool for server operators.