Title :
A conservative real-time garbage collector for C/C++ running on top of RTEMS
Author :
Stumpf, Tobias ; Werner, Michael
Author_Institution :
Dept. of Comput. Sci., Tech. Univ. Dresden, Dresden, Germany
Abstract :
Software is getting larger and more complex. To simplify programming, languages with automatic memory management are used. In embedded systems the languages C/C++ are commonly used, which do not provide such functionalities. This paper addresses real-time garbage collection for embedded systems. We developed a conservative collector, which supports C/C++. The collector uses the mark-sweep algorithm and an installation barrier. Synchronisation points ensure termination. Memory fragmentation is avoided by memory partitioning. Compared to existing approaches, our collector provides realtime support without restrictions on the compiler, programming language or to need special hardware. We only use common hardware functionalities normally used by an operating system to avoid compiler modifications and increase performance.
Keywords :
C++ language; embedded systems; operating systems (computers); program compilers; program verification; storage management; C language; C++ language; C/C++ conservative real-time garbage collector; RTEMS; automatic memory management; compiler modifications; embedded systems; hardware functionalities; installation barrier; mark-sweep algorithm; memory fragmentation; memory partitioning; operating system; programming language; synchronisation points; termination; Complexity theory; Hardware; Memory management; Random access memory; Real-time systems; Resource management; Synchronization;
Conference_Titel :
Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2013 IEEE 16th International Symposium on
Conference_Location :
Paderborn
DOI :
10.1109/ISORC.2013.6913196