~/talk

The Power of JDK Flight Recorder: Efficient Profiling and Troubleshooting for Java Applications

Talkat JavaOne 2026 · 2026-03-17..03-19· [java, observability]
slides:none on file

JDK Flight Recorder records JVM events into compact, self-describing recordings with less than 1% overhead and efficient stack traces; recordings start via -XX:StartFlightRecording or on-running with JCMD/JFR tools. Demos show hot‑method aggregation (one method uses ~30% CPU), GC pause analysis (max ~206 ms, resolved by switching to ZGC), and a memory‑leak trace pinpointing a hashmap holding 2 million entries caused by missing equals/hashCode. API and JMX/streaming hooks let code or fleet tooling dump or analyze recordings when needed.

AI-written summary · about

  1. 0:00JDK Flight Recorder intro
  2. 1:02Origins and purpose
  3. 3:08Key features and design
  4. 4:55Understanding JFR events
  5. 7:22Built-in JDK events
  6. 9:06Filtering and config
  7. 11:55Start recordings in prod
  8. 16:32Command-line tool demonstration
  9. 19:41Live recordings with JCMD
  10. 22:13Q&A on recordings
  11. 24:01Safe point bias concerns
  12. 27:31Virtual threads support
  13. 28:58Real-world troubleshooting
  14. 31:26Latency with GC pauses
  15. 34:12Memory leak detection
  16. 39:52Diagnosing unresponsive apps
  17. 41:37Health monitoring agents
  18. 42:19JMX recording control
  19. 43:43Event streaming APIs
  20. 45:28Scaling JFR for fleets
  21. 46:55Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.