Affiliation:
1. LIP6-INRIA/UPMC, Paris, France
Abstract
Large-scale multicore architectures create new challenges for garbage collectors (GCs). In particular, throughput-oriented stop-the-world algorithms demonstrate good performance with a small number of cores, but have been shown to degrade badly beyond approximately 8 cores on a 48-core with OpenJDK 7. This negative result raises the question whether the stop-the-world design has intrinsic limitations that would require a radically different approach. Our study suggests that the answer is no, and that there is no compelling scalability reason to discard the existing highly-optimised throughput-oriented GC code on contemporary hardware. This paper studies the default throughput-oriented garbage collector of OpenJDK 7, called Parallel Scavenge. We identify its bottlenecks, and show how to eliminate them using well-established parallel programming techniques. On the SPECjbb2005, SPECjvm2008 and DaCapo 9.12 benchmarks, the improved GC matches the performance of Parallel Scavenge at low core count, but scales well, up to 48~cores.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
31 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Microservice Extraction Based on a Comprehensive Evaluation of Logical Independence and Performance;IEEE Transactions on Software Engineering;2024-05
2. Concurrent GCs and Modern Java Workloads: A Cache Perspective;Proceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management;2023-06-06
3. Scaling Up Performance of Managed Applications on NUMA Systems;Proceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management;2023-06-06
4. DJXPerf: Identifying Memory Inefficiencies via Object-Centric Profiling for Java;Proceedings of the 21st ACM/IEEE International Symposium on Code Generation and Optimization;2023-02-17
5. Assessing Contemporary Automated Memory Management in Java – Garbage First, Shenandoah, and Z Garbage Collectors Comparison;2022 45th Jubilee International Convention on Information, Communication and Electronic Technology (MIPRO);2022-05-23