Trash Talk
summary
Examines concrete ART vs Dalvik changes: thread‑local bump allocator regions (≈256KB), finer locks, and a large object heap (>12KB) allocated with malloc to avoid fragmentation. Measured wins include about 18× faster allocations since KitKat, GC pause drops (typical pause ~10ms → ~3ms), and overall heap sizes ~30% smaller on later releases. Demos show autoboxing and bitmap jank on older runtimes but smooth frames on O+, and tools recommended: Memory/CPU profilers and systrace.
AI-written summary · about
chapters (17)
- 0:00Start
- 6:03Manual Garbage Collection
- 6:57Automatic Garbage Collection
- 7:29Runtime GC Concerns
- 8:28Dalvik GC
- 11:18Fragmentation! (Kitkat)
- 13:48ART (Lollipop)
- 14:20ART Allocation
- 17:11Fragmentation! (L+)
- 19:03ART Collection
- 20:52ART in Marshmallow
- 22:13ART in Oreo
- 25:14Concurrent Compaction - Allocation
- 25:47Allocation Improvements
- 27:18Object Pools
- 30:56Jank Test Autoboxing
- 35:01Jank Test Bitmaps
related talks
40mTrash talk
35mKeynote: Trash Talk: The Evolution of Android Garbage Collection
08h 39mLivestream | Day 2, theater 2
07mAndroid memory tools and best practices
18mEnd the Senseless Killing: Improving Memory Management for Mobile Operating Systems
55mCompilers. Dalvik. ART. And everything in between
36mAndroid memory and games
29mWhat's new in app performance
