~/talk

Continuous Monitoring with JDK Flight Recorder

slides:none on file

JDK Flight Recorder runs always-on inside the JVM, records events to dense .jfr files with <1% overhead and uses CPU ticks and pooled stack traces for cheap timestamps and durations. Applications add events by extending jdk.jfr.Event and annotating fields; defaults use thresholds (examples: GC pauses >10ms, slow requests >250–500ms). Tools: jcmd to start/dump, jfr tool to inspect, JFR streaming API (RecordingStream) for in-process or remote streaming (jdk14/16), and unit-test checks (finalizer detection). JDK 20 ships ~180 built-in events.

AI-written summary · about

  1. 0:00Introduction to JFR
  2. 2:57JFR features and overview
  3. 6:06Understanding JFR events
  4. 8:31Creating custom events
  5. 12:00Annotating events
  6. 15:31Event configuration
  7. 17:35Built-in JVM events
  8. 20:02Filtering and configuration
  9. 22:35Performance overhead
  10. 27:47Enabling and running JFR
  11. 30:08JFR command line tools
  12. 34:22Event streaming API
  13. 38:40Complex event analysis
  14. 41:43Remote JFR streaming
  15. 43:22JFR for unit testing
  16. 45:02Summary 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.