Efficiency Analysis of Garbage Collection Method in Java Virtual Machine-Based Memory Management



Volume 11
Jarudin, Radja Satrio Seftiano, Muhamad Damar Bagas, Muhammad Abdul Rozak, Ivan Darma Saputra, Mison Wenda, Sumarli, Fajri Khaerullah, Dimas Prasetyo

Published online: 15 September 2025
Article Views: 25

Abstract

Efficient memory management is one of the crucial aspects of Java Virtual Machine (JVM)-based software development. Garbage Collection (GC) is an automated method used by JVMs to manage memory, allowing developers to focus on application logic without worrying about manually allocating and deallocating memory. This study aims to analyze the efficiency of various GC methods available in JVM, such as Serial GC, Parallel GC, Concurrent Mark-Sweep (CMS) GC, and G1 GC. The analysis is conducted based on performance parameters, including execution time, CPU usage, and memory utilization across various application workloads. The results show that the selection of the right GC method is highly dependent on the characteristics of the application and the desired optimization goals. The study provides practical guidance for developers in choosing the appropriate GC method for their specific needs.

Reference

  1. P. Pufek, H. Grgic, and B. Mihaljevic, “Analysis of garbage collection algorithms and memory management in java,” in 2019 42nd International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2019. doi: 10.23919/MIPRO.2019.8756844 pp. 1677–1682.
  2. J. Velasco, D. A. Alonso, and K. Olcoz, “Memory power optimization of java-based embedded systems exploiting garbage collection information,” Journal of Systems Architecture, vol. 58, no. 1, pp. 61–72, 2012. doi: 10.1016/j.sysarc.2011.11.002
  3. H. Lee, Q. Chen, H. Yeom, and Y. Son, “An efficient garbage collection in java virtual machine via swap i/o optimization,” in Proceedings of the 35th Annual ACM Symposium on Applied Computing, 2020. doi: 10.1145/3341105.3373982
  4. J. R. Jalaman and J. Teleron, “Optimizing operating system performance through advanced memory management techniques: A comprehensive study and implementation,” Engineering and Technology Journal, vol. 9, no. 05, 2024. doi: 10.47191/etj/v9i05.33
  5. G. Vijayakumar and R. K. Bharathi, “Predicting jvm parameters for performance tuning using different regression algorithms,” in 2022 Fourth International Conference on Emerging Research in Electronics, Computer Science and Technology (ICERECT), 2022. doi: 10.1109/ICERECT56837.2022.10060788 pp. 1–8.
  6. S. Iqbal, M. Khan, and I. Memon, “A comparative study of garbage collection techniques in java virtual machines,” Sindh University Research Journal, vol. 44, 2012.
  7. K. LU, X. ZHOU, W. CHI et al., “A high performance system level garbage collection algorithm,” Computer Engineering & Science, vol. 32, no. 11, p. 119, 2010.
  8. A. Chourmouziadis and G. Pavlou, “Efficient information retrieval in network management using web services.” [Online]. Available: http://www.ee.surrey.ac.uk/CCSR/
  9. D. Rong-Hui, “Performance tuning of java garbage collection mechanism,” Computer Engineering and Design, 2006.

To Cite this article

Jarudin, R. F. Seftiano, M.D. Bagas, M.A. Bagas, I.D. Saputra, M. Wenda, Sumarli, F. Khaerulla and D. Prasetyo “Efficiency Analysis of Garbage Collection Method in Java Virtual Machine-Based Memory Management”, International Journal of Technology and Engineering Studies, vol. 11, pp. 29-33, 2025.