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
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].