Scoped Memory in RTSJ Applications Dynamic Analysis of Memory Consumption

H. Hamza, S. Counsell
{"title":"Scoped Memory in RTSJ Applications Dynamic Analysis of Memory Consumption","authors":"H. Hamza, S. Counsell","doi":"10.1109/SEAA.2011.42","DOIUrl":null,"url":null,"abstract":"Scoped memory in Real-time Specification for Java achieves a level of predictability not found in applications that use the garbage collection. However, it creates new challenges for developers. First, the reference rules between scopes constrain the design of the application's memory model. Second, deciding on the appropriate number of scopes and which objects should be allocated into those scopes are not straightforward tasks. This paper presents an empirical study of this memory model using a simulation of a railway control system executed in Sun's RTS 2.2. Five different scoped memory design models were implemented in the case study and memory consumption for each was measured. Results showed that the number of scopes did not always indicate a good memory footprint, choosing the right objects/threads to be allocated in the right scopes is an important factor to be considered.","PeriodicalId":107972,"journal":{"name":"2011 37th EUROMICRO Conference on Software Engineering and Advanced Applications","volume":"161 ","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 37th EUROMICRO Conference on Software Engineering and Advanced Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SEAA.2011.42","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Scoped memory in Real-time Specification for Java achieves a level of predictability not found in applications that use the garbage collection. However, it creates new challenges for developers. First, the reference rules between scopes constrain the design of the application's memory model. Second, deciding on the appropriate number of scopes and which objects should be allocated into those scopes are not straightforward tasks. This paper presents an empirical study of this memory model using a simulation of a railway control system executed in Sun's RTS 2.2. Five different scoped memory design models were implemented in the case study and memory consumption for each was measured. Results showed that the number of scopes did not always indicate a good memory footprint, choosing the right objects/threads to be allocated in the right scopes is an important factor to be considered.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
RTSJ应用程序中的作用域内存
Java实时规范中的作用域内存实现了在使用垃圾收集的应用程序中没有的可预测性级别。然而,它给开发人员带来了新的挑战。首先,作用域之间的引用规则约束了应用程序内存模型的设计。其次,决定适当数量的作用域以及应该将哪些对象分配到这些作用域中并不是一项简单的任务。本文利用Sun的RTS 2.2中执行的铁路控制系统的仿真,对该内存模型进行了实证研究。在案例研究中实现了五种不同的作用域内存设计模型,并测量了每种模型的内存消耗。结果表明,作用域的数量并不总是表示良好的内存占用,在正确的作用域中选择要分配的正确对象/线程是需要考虑的一个重要因素。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Model-Driven Development of Self-Describing Components for Self-Adaptive Distributed Embedded Systems Correct Implementation of Open Real-Time Systems An Adaptive Control Model for Non-functional Feature Interactions Extensible Polyglot Programming Support in Existing Component Frameworks Method Library Framework for Safety Standard Compliant Process Tailoring
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1