~/talk

ART Memory Management

Talkat SnowOne 2025 · 2025-02-28..03-01· [android]
links:none on file
slides:none on file

ART is Android Runtime executing DEX register bytecode on a 4 GB heap that forces 32-bit compressed refs even on 64-bit CPUs. The evolution of GC is concrete: a malloc-based Mark‑and‑Sweep, stop‑the‑world SemiSpace with bump alloc, a concurrent regional Concurrent Copying that pays ~15% for a read‑barrier on pointer-chasing, and a new Concurrent Mark‑Compact prototype that uses userfaultfd page‑triggers, double‑mapping and bitmaps to compact with low run‑time overhead.

AI-written summary · about

  1. 0:00Introduction to ART
  2. 3:14What is Android Runtime
  3. 7:04Memory management in ART
  4. 10:13Garbage collection algorithms overview
  5. 10:54Mark and Sweep GC
  6. 17:38SemiSpace GC
  7. 20:48Concurrent Copying GC
  8. 29:47Concurrent Mark Compact GC
  9. 44:30Evolution and future of ART GC
~/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.