ART Memory Management
summary
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
