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