~/talk

ART Memory Management

Talkat JPoint 2025 · 2025-04-03..04-04· [android]
links:none on file
slides:none on file

ART’s GC history moves from mark‑sweep and two‑space semi‑space collectors to regioned concurrent copying and a new CMC (Concurrent Mark‑Compact) prototype that uses page protections (Linux 5.15 FFD), shadow‑mapping and precomputed target addresses to avoid continuous read barrier overhead. Heap stays limited to 4 GB with pointer compression; regions are ~256 KB regions. Benchmarks show the CMC prototype roughly 15% faster than the prior CC collector on reference‑chaining, but the compacting gen support is still in active development.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:24Overview of Android ART
  3. 5:02Memory heap in Android
  4. 7:11Mark-sweep garbage collector
  5. 11:47Semi-space garbage collector
  6. 15:37Concurrent copying collector
  7. 23:52Concurrent mark-compact collector
  8. 34:00Evolution of garbage collectors
  9. 34:44Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.