Title :
Reclaiming storage in an object oriented platform supporting extended C++ and Objective-C applications
Author_Institution :
INESC/IST, Lisboa, Portugal
Abstract :
This paper describes the experience obtained from the conception and implementation of a system for garbage collection in the INESC Comandos platform. The garbage collector is presently being used not only by applications written in C++ but also in Objective-C (both with some minor restrictions) since both languages are supported by the platform. In order to reclaim the memory used by objects, two algorithms were implemented: stop and copy with multiple generations and an incremental mark and sweep. The generational copying algorithm reduces drastically the time used to reclaim old objects when compared with a non-generational version. Besides these two algorithms, another one was developed in order to reclaim non-object memory (usually strings). This memory can be explicitly created by the programmer or by the communication subsystem in order to support distributed invocations
Keywords :
C language; object-oriented programming; operating systems (computers); storage management; C++; INESC Comandos platform; Objective-C; garbage collection; generational copying algorithm; Aging; Algorithm design and analysis; Electronic mail; Object detection; Programming profession; Recycling; Runtime; Storage automation; Yarn;
Conference_Titel :
Object Orientation in Operating Systems, 1991. Proceedings., 1991 International Workshop on
Conference_Location :
Palo Alto, CA
Print_ISBN :
0-8186-2265-2
DOI :
10.1109/IWOOOS.1991.183029