Keynote: Trash Talk: The Evolution of Android Garbage Collection
summary
Explains that Android moves from Dalvik to the ART runtime (KitKat → default in Lollipop) and replaces stop‑the‑world Dalvik GC pauses that caused GC for alloc stalls of ~10–30 ms with thread‑local allocation, a large object heap, and a concurrent compacting collector; allocations become multiple times faster (4–5× then 10× and claims up to 18× vs Dalvik), fragmentation disappears, object pools often lose their win, and a demo shows KitKat hitting ~3% jank from GC while Oreo largely avoids it.
AI-written summary · about
chapters (15)
- 0:00Light Show
- 0:37Trash Talk
- 2:52History
- 4:57Garbage Collection
- 6:20Memory Garbage Collection
- 7:35How Garbage Collection Works
- 9:17Run Times
- 10:56Dalvik
- 14:55Heap fragmentation
- 19:00Art for large objects
- 21:29Arch fragmentation
- 26:10Concurrent compaction
- 27:44Speed
- 27:57Collections
- 29:52Advice
related talks
49mTrash Talk
49mKeynote: Android Development
40mTrash talk
46mOpening Keynote: Android Then & Now
08h 39mLivestream | Day 2, theater 2
34mAndroid or the ART of Optimizing Java Code
55mCompilers. Dalvik. ART. And everything in between
18mEnd the Senseless Killing: Improving Memory Management for Mobile Operating Systems
