A conservative real-time garbage collector for C/C++ running on top of RTEMS

Tobias Stumpf, Matthias Werner
{"title":"A conservative real-time garbage collector for C/C++ running on top of RTEMS","authors":"Tobias Stumpf, Matthias Werner","doi":"10.1109/ISORC.2013.6913196","DOIUrl":null,"url":null,"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.","PeriodicalId":330873,"journal":{"name":"16th IEEE International Symposium on Object/component/service-oriented Real-time distributed Computing (ISORC 2013)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"16th IEEE International Symposium on Object/component/service-oriented Real-time distributed Computing (ISORC 2013)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISORC.2013.6913196","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

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.
一个运行在RTEMS之上的C/ c++的保守的实时垃圾收集器
软件变得越来越大,越来越复杂。为了简化编程,使用了具有自动内存管理功能的语言。在嵌入式系统中,常用的语言是C/ c++,它们不提供这些功能。本文研究了嵌入式系统的实时垃圾回收。我们开发了一个保守的收集器,它支持C/ c++。收集器使用标记-扫描算法和安装屏障。同步点确保终止。内存分区可以避免内存碎片。与现有的方法相比,我们的收集器提供了实时支持,而不受编译器、编程语言或特殊硬件的限制。我们只使用操作系统通常使用的常见硬件功能,以避免修改编译器并提高性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信