~/talk

Analyzing Safe Flights, and Firey Wrecks with JDK Flight Recorder

Talkat Spring I/O 2022 · 2022-05-26..05-27· [java]
slides:none on file

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

  1. 0:00Introduction to JFR
  2. 2:53JFR overview and features
  3. 7:07Basic usage and demo
  4. 13:18Analyzing JFR recordings
  5. 18:35Troubleshooting resource leaks
  6. 23:32Custom events in JFR
  7. 27:13JFR event streams
  8. 31:10Future JFR developments
  9. 33:22Q&A and conclusion
~/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.