Profiling and monitoring with the JDK
summary
Java Flight Recorder (JFR) in OpenJDK (since Java 11) provides low‑overhead production profiling (typically under 3%, often below 1%) by recording ~250 built‑in events in JDK 17 to binary files or live streams. The talk covers using JFR and the jfr CLI or JDK Mission Control for analysis, the Java 9+ custom event API, Java 14 live streaming, Java 16’s jdk:ObjectAllocation event, and integration with tools like JMC, VisualVM, and jfr‑unit for tests.
AI-written summary · about
chapters (27)
- 0:00Start
- 0:15The JVM
- 1:43Profiling and monitoring
- 2:29Historical tools
- 3:55Jean-Michel DOUDOUX
- 4:51Roadmap
- 6:09Analogy with aviation
- 7:10Java Development Kit Flight Recorder
- 8:32Usage conditions
- 10:18JFR elements
- 12:03Internal collection
- 12:41Recording management
- 16:01Configuration of collected information
- 16:15Standard profiles
- 18:43Exploitation of files
- 19:04Java Mission Control
- 19:57Different versions
- 20:31Binary providers
- 21:03Proposed features
- 21:21JVM Browser
- 21:38JMX Console
- 22:52Java Flight Recorder plugin
- 27:03Creating an event
- 28:04Emitting an event
- 29:05Creating a JFR file
- 30:51JFR Event Streaming
- 38:06Use JFR and JMC
related talks
39mProfiling and Monitoring with the JDK
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)
39mProgrammer's Guide to JDK Flight Recorder
56mTaking Off With #JDK #FlightRecorder
18mContinuous Monitoring w/ JDK Flight Recorder (JFR)
