CFP last date
20 January 2025
Reseach Article

CMS and G1 Collector in Java 7 Hotspot: Overview, Comparisons and Performance Metrics

by Clarence J M Tauro, Manjunath V Prabhu, Vernon J Saldanha
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 43 - Number 11
Year of Publication: 2012
Authors: Clarence J M Tauro, Manjunath V Prabhu, Vernon J Saldanha
10.5120/6149-8524

Clarence J M Tauro, Manjunath V Prabhu, Vernon J Saldanha . CMS and G1 Collector in Java 7 Hotspot: Overview, Comparisons and Performance Metrics. International Journal of Computer Applications. 43, 11 ( April 2012), 27-32. DOI=10.5120/6149-8524

@article{ 10.5120/6149-8524,
author = { Clarence J M Tauro, Manjunath V Prabhu, Vernon J Saldanha },
title = { CMS and G1 Collector in Java 7 Hotspot: Overview, Comparisons and Performance Metrics },
journal = { International Journal of Computer Applications },
issue_date = { April 2012 },
volume = { 43 },
number = { 11 },
month = { April },
year = { 2012 },
issn = { 0975-8887 },
pages = { 27-32 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume43/number11/6149-8524/ },
doi = { 10.5120/6149-8524 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T20:34:24.138117+05:30
%A Clarence J M Tauro
%A Manjunath V Prabhu
%A Vernon J Saldanha
%T CMS and G1 Collector in Java 7 Hotspot: Overview, Comparisons and Performance Metrics
%J International Journal of Computer Applications
%@ 0975-8887
%V 43
%N 11
%P 27-32
%D 2012
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Java is used in large enterprise server applications. Enterprise applications are characterized by large amount of live heap data and considerable thread level parallelism. Garbage collectors are programs that attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the main program [1]. The strength of Java platform is that it performs automatic memory management, thereby shielding developers from the complexity of explicit memory management. This paper provides an overview of features shared by most Garbage collectors in the latest version of java (as of Jan-2012) Java7. This document also attempts to compare the CMS (Concurrent Mark and Sweep) collector against its replacement and a new implementation in Java7, G1 aka "Garbage first" [2].

References
  1. Description of HotSpot GCs: Memory Management in the Java HotSpot Virtual Machine White Paper: http://java. sun. com/j2se/reference/whitepapers/memorymanagement_whitepaper. pdf.
  2. The Garbage-First Garbage Collector, Oracle Technology network http://www. oracle. com/technetwork/java/javase/tech/g1-intro-jsp-135488. html.
  3. Tuning Garbage Collection with the 1. 4. 2 Java[tm] Virtual Machine, http://java. sun. com/docs/hotspot/gc1. 4. 2/
  4. Luke Dykstra, Witawas Srisa-an, and J. Morris Chan, "An Analysis of the Garbage Collection Performance in Sun's HotSpotTM Java Virtual Machine"
  5. Witawas Srisa-an, Chia-Tien Dan Lo, and J. Moms Chang, "Scalable Hardware-algorithm for Mark-sweep Garbage Collection
  6. The Java Language Environment, Memory Management and Garbage Collection, http://java. sun. com/docs/white/langenv/Simple. doc1. html#2333
  7. Formal Programming Language Theory, Dataflow Analysis http://www. cs. is. noda. tus. ac. jp/~mune/keio/m/chap2. pdf.
  8. Sergey V. Rogov, Viacheslav A. Kirillin, and Victor V. Sidelnikov,"Optimization of Java Virtual Machine with Safe-Point Garbage Collection",
  9. The original G1 paper: Detlefs, D. , Flood, C. , Heller, S. , and Printezis, T. 2004. Garbage-first garbage collection. In Proceedings of the 4th international Symposium on Memory Management (Vancouver, BC, Canada, October 24 - 25, 2004 ) http://labs. oracle. com/jtech/pubs/04-g1-paper-ismm. pdf
Index Terms

Computer Science
Information Sciences

Keywords

Java 7 Hotspot G1 Garbage First Cms Concurrent Mark And Sweep Performance Comparisons