Tackling Performance Issues with YourKit
summary
Shows YourKit profiling vs JDK tools, using sampling and tracing snapshots to find concrete fixes: an ArrayList resized to avoid repeated allocations, caching a computed value after 300 million hashCode calls, and removing unnecessary preference writes that repeat SQL statements. Finds 20,000 duplicate strings and 63,000 thrown exceptions, exposes a synchronized classloader bottleneck and a GC-driven 17-second outage, then fixes by switching GC to G1 and changing classloader code, producing measurable latency and memory improvements.
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:30P2 Browser
- 3:35Application Processes
- 4:40CPU Profiling
- 7:50Hotspots
- 8:40ViewNotes
- 15:00Memory Snapshot
- 15:45Object Sizes
- 16:50Duplicate Strings
- 18:30Opening ID
- 19:05Empty Strings
- 20:10Banking Application
- 21:00Tech Tree
- 23:10Inspection
- 25:10Exceptions
- 26:20Outages
- 28:55Questions
related talks
56mThe Dark Arts of Performance Tuning
01h 28mThe dark art of performance tuning or how to become a performance hero ...
45mHow difficult can it be to write efficient code?
55mThe Performance Engineer's Guide To Java HotSpot
52mGC Tuning & Troubleshooting Crash Course
38mMemory Efficient Java
45mA Healthy diet for your Java application
56mJava Performance Analysis
