Skip to main content

JFR (Java Flight Recorder)

Learn JFR (Java Flight Recorder) (JVM Performance, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

6. Basic Concepts What is JFR? Java Flight Recorder (JFR) is a profiling and event-collection tool built directly into the JVM itself. It records detailed information about what's happening inside your application - method execution, garbage collection pauses, lock contention, I/O, exceptions - while it runs, with very low overhead (typically under 1-2%). It's called a "flight recorder" by analogy to an airplane's black box: it continuously records what the JVM is doing, so if something goes wrong, you can go back and see exactly what happened.

More lessons in JVM Performance