Title :
Comparison of Garbage Collector prototypes for C++ applications
Author :
Mcheick, Hamid ; Sioud, Aymen
Author_Institution :
Dept. of Comput. Sci. & Mathematic, Univ. of Quebec at Chicoutimi, Chicoutimi, QC
Abstract :
In wide-enterprise information system, a garbage collector (GC) is a critical memory management process in programming languages such as C++. The programmers need to be aware about memory management and can´t be relieved from this task. They have to implement explicitly this task whatever the size of C++ applications. Consequently, this leads to errors and bugs (i.e. dangling pointers, allocation failures, etc.). Therefore, supporting implicit memory management based of aspect-oriented programming can provide a number of benefits such as freeing the programmer of memory management task. We have tackled this problem using aspect-oriented programming to manage implicitly the allocation and release of memory. In this paper, we describe two prototypes of memory management that implement reference counter and mark and sweep techniques. Then we compare them based on the constraints of Detlefs.
Keywords :
C++ language; object-oriented programming; storage allocation; storage management; C++ application; aspect-oriented programming; enterprise information system; garbage collector prototype; mark-sweep technique; memory allocation; memory management; memory release; reference counter; Application software; Computer bugs; Computer languages; Computer science; Counting circuits; Instruments; Mathematics; Memory management; Programming profession; Prototypes;
Conference_Titel :
Computer Systems and Applications, 2009. AICCSA 2009. IEEE/ACS International Conference on
Conference_Location :
Rabat
Print_ISBN :
978-1-4244-3807-5
Electronic_ISBN :
978-1-4244-3806-8
DOI :
10.1109/AICCSA.2009.5069399