The Community for Technology Leaders
Performance, Computing, and Communications Conference, 2002. 21st IEEE International (2002)
Phoenix, AZ, USA
Apr. 3, 2002 to Apr. 5, 2002
ISBN: 0-7803-7371-5
pp: 301-308
C.-T.D. Lo , Dept. of Comput. Sci., Illinois Inst. of Technol., Chicago, IL, USA
ABSTRACT
The recent popularity of the Java programming language has brought automatic dynamic memory management (a.k.a., the garbage collection) into the mainstream. Traditional garbage collectors suffer from long garbage collection pauses (stop-the-world mark-sweep algorithm) or inability of collecting cyclic garbage (reference counting approach). Generational garbage collection, however, is based only on the weak generational hypothesis that most objects die young. In this paper, the performance evaluation of a new multithreaded concurrent generational garbage collector (MCGC) based on mark-sweep with the assistance of reference counting is reported. The MCGC can take advantage of multiple CPUs in an SMP system and the merits of lightweight processes. Furthermore, the long garbage collection pause can be reduced and the garbage collection efficiency can be enhanced. Measurement results indicate that the MCGC improves the garbage collection pause time up to 96.75% over the traditional stop-the-world mark-sweep garbage collector. Moreover, the MCGC receives minimal time and space penalties as shown in the report of the total execution time, the memory footprint and the sticky reference count rate.
INDEX TERMS
CITATION
C.-T.D. Lo, W. Srisa-an, J.M. Chang, "A performance comparison between stop-the-world and multithreaded concurrent generational garbage collection for Java", Performance, Computing, and Communications Conference, 2002. 21st IEEE International, vol. 00, no. , pp. 301-308, 2002, doi:10.1109/IPCCC.2002.995163
93 ms
(Ver 3.3 (11022016))