Jade: A High-throughput Concurrent Copying Garbage Collector
Mingyu Wu, Liang Mao, Yude Lin, Yifeng Jin, Zhe Li, Hongtao Lyu, Jiawei Tang, Xiaowei Lu, Hao Tang, Denghui Dong, Haibo Chen, Binyu Zang
摘要
Garbage collection (GC) pauses are a notorious issue threatening the latency of applications. To mitigate this problem, state-of-the-art concurrent copying collectors allow GC threads to run simultaneously with application threads (mutators) in nearly all GC phases. However, the design of concurrent copying collectors does not always lead to low application latency. To this end, this work studies the behaviors of mainstream concurrent copying collectors in OpenJDK and mainly focuses on long application pauses under heavy workloads. By analyzing the design of those collectors, this work uncovers that lengthy pre-reclamation cycles (including GC phases before actual memory release), high GC frequency, and large metadata maintenance overhead are major factors for long pauses. Therefore, this work proposes Jade, a concurrent copying collector aiming to achieve both short pauses and high GC efficiency. Compared with existing collectors, Jade provides a group-wise collection mechanism to shorten pre-reclamation cycles while controlling GC frequency. It also embraces a generational heap layout and a single-phase algorithm to maximize young GC's throughput. The evaluation results on representative latency-critical applications show that Jade can reach sub-millisecond-level pauses even under heavy workloads and significantly improve applications' peak throughput compared with state-of-the-art concurrent collectors.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Evaluating Garbage Collection Performance Across Managed Language Runtimes 引用了 Platinum: A CPU-Efficient Concurrent Garbage Collector for Tail-Reduction of Interactive Services
- Evaluating Garbage Collection Performance Across Managed Language Runtimes 引用了 Low-latency, high-throughput garbage collection
- Shaving the Peaks: Taming Tail Latency for Managed Workloads via Disaggregated Garbage Collection 引用了 Mako: a low-pause, high-throughput evacuating collector for memory-disaggregated datacenters
- Shaving the Peaks: Taming Tail Latency for Managed Workloads via Disaggregated Garbage Collection 引用了 Platinum: A CPU-Efficient Concurrent Garbage Collector for Tail-Reduction of Interactive Services
- Shaving the Peaks: Taming Tail Latency for Managed Workloads via Disaggregated Garbage Collection 引用了 Low-latency, high-throughput garbage collection
- LifeLine: An Object-Page Lifetime Alignment GC Enabling Minimal Memory Copying for Mobile Devices 引用了 Mako: a low-pause, high-throughput evacuating collector for memory-disaggregated datacenters
- LifeLine: An Object-Page Lifetime Alignment GC Enabling Minimal Memory Copying for Mobile Devices 引用了 Low-latency, high-throughput garbage collection
引用它的顶会 Paper3
- Evaluating Garbage Collection Performance Across Managed Language RuntimesYicheng Wang, Wensheng Dou, Yu Liang, Yi Wang 等ICSE 2025 · 1 次引用
- Shaving the Peaks: Taming Tail Latency for Managed Workloads via Disaggregated Garbage CollectionHongtao Lyu, Yuhan Li, Mingyu WuOSDI 2026
- LifeLine: An Object-Page Lifetime Alignment GC Enabling Minimal Memory Copying for Mobile DevicesJiacheng Huang, Yunmo Zhang, Qingan Li, Junqiao Qiu 等OSDI 2026
它引用的 Paper4
- Low-latency, high-throughput garbage collectionWenyu Zhao, Stephen M. Blackburn, Kathryn S. McKinleyPLDI 2022 · 24 次引用
- Mako: a low-pause, high-throughput evacuating collector for memory-disaggregated datacentersHaoran Ma, Shi Liu, Chenxi Wang, Yifan Qiao 等PLDI 2022 · 19 次引用
- Platinum: A CPU-Efficient Concurrent Garbage Collector for Tail-Reduction of Interactive ServicesMingyu Wu, Ziming Zhao, Yanfei Yang, Haoyu Li 等USENIX ATC 2020 · 18 次引用
- Bridging the performance gap for copy-based garbage collectors atop non-volatile memoryYanfei Yang, Mingyu Wu, Haibo Chen, Binyu ZangEuroSys 2021 · 9 次引用
相关 Paper
- Uncovering Hidden Memory Costs for Garbage CollectionSudhanshu Agarwal, Saugata GhoseOOPSLA 2026
- Mark-Scavenge: Waiting for Trash to Take Itself OutJonas Norlinder, Erik Österlund, David Black-Schaffer, Tobias WrigstadOOPSLA 2024
- Work Packets: A New Abstraction for GC Software Engineering, Optimization, and InnovationWenyu Zhao, Stephen M. Blackburn, Kathryn S. McKinleyOOPSLA 2025 · 3 次引用
- Let It Go: Relieving Garbage Collection Pain for Latency Critical Applications in GolangJunxian Zhao, Xiaobo Zhou, Sang-Yoon Chang, Chengzhong XuHPDC 2023
- Iso: Request-Private Garbage CollectionTianle Qiu, Stephen M. BlackburnPLDI 2025 · 1 次引用
