Memory Efficient Java
summary
Claims that 60–70% of apps waste memory and shows concrete fixes: identifies hot allocation sites like index.remainder and arraycopy ranges, observes ~14–16 GB/s allocation churn, and demonstrates that cutting churn yields multi‑fold speedups. Uses VisualVM for external profiles and Java Flight Recorder / Java Mission Control (or jcmd) for accurate in‑JVM traces, finds scalar‑replaceable objects like score, changes algorithms, and reduces runtime from about 90s → 12s with much lower allocation rates (16 GB/s allocation).
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:59Demo
- 2:46What is your performance trouble spot?
- 4:37Where do these problems show up?
- 6:13Demo continued
- 8:25War stories
- 9:12What about Mastermind?
- 10:00Allocation sites
- 10:55Demo continued
- 12:20Allocations
- 13:30Demo continued








