The Dark Arts of Performance Tuning
summary
Shows a concrete workflow that finds and fixes real bottlenecks using only free tools: measure CPU and kernel time with OS perf monitor, inspect threads and take dumps with jvisualvm, identify a synchronized cache causing context-switching and replace it with ConcurrentHashMap to drop a 6.1s operation to 2.8s, then replace string-keyed cache with a compact PersonKey to reach ~590ms. Uses GC logs + GCViewer and heap analysis with MAT (Eclipse Memory Analyzer) to find a WeakHashMap leak.
AI-written summary · about
chapters (8)
- 0:00Introduction and speaker background
- 5:08Why performance tuning matters
- 14:39Live demo setup and tools
- 21:46Identifying CPU bottlenecks
- 27:18Memory profiling and GC analysis
- 38:27Debugging memory leaks
- 49:54APM tools and further reading
- 52:19Q&A session
related talks
01h 28mThe dark art of performance tuning or how to become a performance hero ...
56mJava Performance Analysis
47mJVM Performance Engineering - Inside OpenJDK and the HotSpot Java Virtual Machine
45mHow difficult can it be to write efficient code?
52mGC Tuning & Troubleshooting Crash Course
38mMemory Efficient Java
35mTackling Performance Issues with YourKit
44mA Glance At The Java Performance Toolbox
