Analyzing Safe Flights, and Firey Wrecks with JDK Flight Recorder
summary
JDK Flight Recorder is a low-overhead, event-based profiler built into OpenJDK (usable without license since JDK 11) that records into thread-local buffers and dumps to .jfr files; default settings claim sub-1% overhead while a profiling setting increases detail. Demos use jcmd/jps to start recordings on live processes, open .jfr files with JDK Mission Control or the jfr CLI, compare G1 vs ZGC pauses, inspect 150+ built-in events, add custom Event classes, stream live events via JFR event streams, and find leaks (long-lived threads, odd heap allocations).
AI-written summary · about
chapters (9)
- 0:00Introduction to JFR
- 2:53JFR overview and features
- 7:07Basic usage and demo
- 13:18Analyzing JFR recordings
- 18:35Troubleshooting resource leaks
- 23:32Custom events in JFR
- 27:13JFR event streams
- 31:10Future JFR developments
- 33:22Q&A and conclusion
related talks
42mProfiling and monitoring with the JDK
56mTaking Off With #JDK #FlightRecorder
39mProgrammer's Guide to JDK Flight Recorder
51mThe Power of JDK Flight Recorder: Efficient Profiling and Troubleshooting for Java Applications
39mProfiling and Monitoring with the JDK
46mContinuous Monitoring with JDK Flight Recorder
42mContinuous Monitoring with JDK Flight Recorder
01h 09mContinuous Monitoring With JDK Flight Recorder (JFR)
