~/talk

A Glance At The Java Performance Toolbox

Talkat Voxxed Days Iași 2023 · 2023-05-23..05-24· [java]
slides:none on file

Shows how to use JDK tools — jcmd, jconsole, jstat, jmap, jfr — to diagnose a live Spring Boot service in a container and how to stream JFR events to Prometheus/Grafana. Builds a restricted runtime with jlink-built custom JRE, enables native memory tracking and collects jcmd baseline/diff, jstat GC samples and JFR recordings. Demonstrates a real memory leak caused by using a mutable object as a Map key; JFR pinpoints the stack frame and the fix stops the leak and stabilizes GC behavior.

AI-written summary · about

  1. 0:00Java Performance Toolbox intro
  2. 2:11Choosing container image builder
  3. 3:37Minimal Java images with jlink
  4. 9:00Spring Boot to-do setup
  5. 13:15Detecting memory leaks
  6. 19:18jcmd and JConsole diagnostics
  7. 20:40JVM monitoring with jstat/jmap
  8. 25:25Profiling with JDK Flight Recorder
  9. 31:11JVM events to Prometheus/Grafana
  10. 36:30Custom JFR events in Spring Boot
  11. 37:57Q&A
~/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.