What is the Java Flight Recorder?
The JDK Flight Recorder (JFR) is the main profiling and diagnostics tool in JDK Mission Control. Think of it as analogous to the “black box” used in aircraft (FDR, or Flight Data Recorder), but for the JVM.
JDK Flight Recorder Explained
The recorder part is built into the HotSpot JVM and gathers data about both the HotSpot runtime and the application running in the HotSpot JVM. The recorder can both be run in a continuous fashion, like the “black box” of an airplane, as well as for a predefined period of time. For more information about recordings and ways of creating them, see http://hirt.se/blog/?p=370.
More content from TheServerSide
Here are some additional videos and articles of mine (Cameron McKenzie) about Java Mission Control and Java Flight Recorder:
- Quick Introduction to Java Mission Control
- Java Mission Control 8 Eclipse plugin Install
- Fix Java memory leaks without costly JVM heap dumps
- The performance cost of autoboxing Java primitive types
- How to start Java's JVM Flight Recorder 3 easy ways
- Performance Problems with Synchronized Methods