Performance analysis of modern garbage collectors using big data benchmarks in the JDK 20 environment

Loading...
Thumbnail Image

Publisher

Institute of Electrical and Electronics Engineers Inc.

Citation

M. J. Islam, A. T. M. M. Rahman and S. Rana, "Performance Analysis of Modern Garbage Collectors using Big Data Benchmarks in the JDK 20 Environment," 2023 5th International Conference on Sustainable Technologies for Industry 5.0 (STI), Dhaka, Bangladesh, 2023, pp. 1-6, doi: 10.1109/STI59863.2023.10464900.

Abstract

Garbage collection is a fundamental aspect of Java Virtual Machine (JVM) memory management, and choosing the optimal garbage collector is essential for attaining optimal application performance. In this work, we conduct experiments with the big data benchmarks from DaCapo and Renaissance benchmark suites in both fixed and variable heap environments to determine the efficacy of JDK 20's garbage collectors. The ZGC algorithm has the highest throughput and the shortest pause periods, whereas the Serial GC algorithm has the lowest throughput and the longest pause intervals. Additionally, it is discovered that the G1 algorithm manages the previous generation heap and metaspace less efficiently. Our work offers valuable insights into the efficacy of garbage collection algorithms and can aid application developers in selecting the optimal garbage collection algorithm. Our investigation can be expanded by analyzing additional benchmark suites and garbage collection algorithms across a broader range of heap sizes in future work.

Description

Type

Conference Proceeding