JFR
JFR, or Java Flight Recorder, is a built-in performance profiling and event-logging framework in the Java Virtual Machine. It records low-overhead, high-fidelity data about runtime events, enabling diagnostics and performance tuning for Java applications in production as well as in development.
The feature originated in Oracle's JDK and was later integrated into OpenJDK. It was introduced to the
JFR collects events from the JVM and the running application. Built-in event types cover VM lifecycle (VMStart,
Configuration and usage: recordings can be started at JVM launch or runtime. A typical command-line approach
Applications: JFR is used for performance profiling, latency analysis, GC tuning, thread contention investigations, and reliability
Limitations: while designed to be low overhead, recording incurs some performance impact and can generate large