Taking Off With #JDK #FlightRecorder
summary
JDK Flight Recorder runs inside the JVM and records over 180 built‑in events with sub‑1% overhead by default; it starts on a live process via jcmd or JVM args and is inspected with the jfr tool, JFR view/print (JSON) and JDK Mission Control. The demo builds a custom “delay” event by extending jdk.jfr.Event with a threshold so only slow requests are kept — the run captures three slow occurrences. JFR also supports max‑age/size rotation and a jfr scrub utility to remove sensitive fields.
AI-written summary · about
chapters (14)
- 0:00Introduction to JFR
- 2:29What is JDK Flight Recorder
- 9:32Demo of JFR in action
- 13:32Analyzing JFR recordings
- 20:07Starting JFR on running apps
- 25:29Configuring JFR settings
- 31:38JDK Mission Control overview
- 33:36Custom event configuration
- 38:33Creating custom events
- 43:08JFR scrub utility
- 48:11Best practices for custom events
- 50:40JFR in containers and microservices
- 54:13JFR in automated testing
- 56:16Q&A
related talks
39mProgrammer's Guide to JDK Flight Recorder
46mContinuous Monitoring with JDK Flight Recorder
45mAnalyzing Safe Flights, and Firey Wrecks with JDK Flight Recorder
42mContinuous Monitoring with JDK Flight Recorder
01h 09mContinuous Monitoring With JDK Flight Recorder (JFR)
42mProfiling and monitoring with the JDK
39mProfiling and Monitoring with the JDK
37mProgrammer's Guide to JDK Flight Recorder
