A Guide to Profiling Applications on the JVM
summary
A practical guide to profiling JVM applications that explains common profiling challenges and why many different profilers exist (free vs paid, built-in vs external, CLI vs GUI). It compares three popular Java profilers, detailing each tool’s strengths and weaknesses, when to choose which one, and how to get the most accurate results while avoiding common mistakes that can mislead production troubleshooting.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 2:07What is profiling
- 4:16Profiling JVM code
- 6:03CPU profiling
- 12:22Memory profiling
- 15:10Profiling tools
- 19:03Basic workflow
- 21:54Flame graphs
- 24:03CPU vs wall time
- 25:50Async Profiler setup
- 31:30Async Profiler modes
- 34:42Alternative tools
- 35:45YourKit tracing
- 38:14JFR and Mission Control
- 41:06JFR config
- 44:34Tool comparison
- 45:39Profiling environments
- 46:43Summary
