Improving ART Garbage Collection Performance through Object-Lifetime-Profile-Based Allocation Control

Concurrent Copying Garbage Collection (CCGC) in the Android Runtime (ART) manages objects at Region granularity. When objects with different lifetime characteristics coexist in the same Region, the number and total size of live objects processed during garbage collection may increase, reducing reclamation efficiency. This paper proposes an object-lifetime-aware allocation-control method that uses application-specific lifetime profiles collected for different object sizes and allocates objects belonging to size bins with high short-lived-object ratios to dedicated Regions. For each object-size bin, the proposed method calculates the fraction of objects whose lifetimes do not exceed a predefined threshold and ranks the bins in descending order of this fraction. It then selects the highest-ranked bins whose total allocated bytes are closest to 50% of the total allocated bytes. We implemented the proposed method in the ART of Android 13 and evaluated it using ten Android applications, with 50 benchmark executions for each configuration. Across the ten applications, the geometric mean of normalized application throughput increased by 0.59%, and GC throughput increased by 12.42%. The GC activity ratio, STW ratio, maximum STW time, and GC count per allocated GiB decreased by 25.80%, 22.67%, 2.69%, and 1.22%, respectively. However, the effects varied among applications. These results demonstrate that object-lifetime-aware allocation control can improve GC processing efficiency and pause-related performance, while its effectiveness depends on application-specific allocation characteristics and the processing cost of objects that survive beyond the selected lifetime threshold.

Link
https://www.semanticscholar.org/paper/51b2c1edb809d9403fc1e96f41e43a00f1f47ff2
Found by
Semantic Scholar
Authors
Hiroki Yamada, Takeshi Kamiyama, Masato Oguchi, Saneyasu Yamaguchi
Categories
benchmark, evaluation
Published
2026-10-02
Last seen by the radar
2026-10-04
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3840562.3844968
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar