~/talk

Production profiling with JDK Flight Recorder & JDK Mission Control

Talkat SnowOne 2021 · 2021-02-26..02-27· [java, observability]
slides:none on file

JDK Flight Recorder records production JVM activity with low overhead (default <1%) and compact files — roughly 2 MB/min, ~100000 events/min — using per-thread buffers copied into a global ring and on-disk chunks; stack traces arrive via stack traces via async sampling (not safepoints) and allocation sampling targets TLAB boundaries. Events include CPU, GC phases, IO, lock contention (recorded only above monitor threshold 20 ms) and custom Java events via the JFR API or an instrumenting agent; jcmd, jfr, and JDK Mission Control parse, visualize and export flame graphs and automated reports, and Datadog demonstrates one-minute uploads working in production.

AI-written summary · about

  1. 0:00Start
  2. 7:26Jdk Flat Recorder
  3. 9:27How Flight Recorder Can Help You
  4. 14:43Cpu Profiling
  5. 14:55Thread Latency
  6. 23:08Command Line Flags
  7. 31:10Allocation Profiling
  8. 32:55Demo
  9. 36:48Summary of a Recording
  10. 38:56Jdk Mission Control
  11. 53:19Generating a Flame Graph
  12. 56:19Gmc Agent
  13. 57:28Summary
  14. 58:36Custom Events
  15. 1:01:45Enable J4 Recording on a Live Application under Load Is It Safe
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.