首页> 外文期刊>Simulation modelling practice and theory: International journal of the Federation of European Simulation Societies >Simulation of safety-critical, real-time Java: A case study of dynamic analysis of scoped memory consumption
【24h】

Simulation of safety-critical, real-time Java: A case study of dynamic analysis of scoped memory consumption

机译:安全关键的实时Java仿真:范围内存消耗动态分析的案例研究

获取原文
获取原文并翻译 | 示例
           

摘要

For critical, real-time applications, scoped memory management in Real-Time Specification for Java (RTSJ) achieves a level of predictability not found in applications that use garbage collection techniques. However, a scoped memory model creates new challenges for developers. First, the reference rules between scopes constrain the design of the application's memory model. Second, there is no abstract model for scoped memory that can be applied to different applications. Third, deciding on the appropriate number of scopes and which objects or threads should be allocated into those scopes are not straightforward tasks and require tools to assist. This paper presents a simulation of a railway control system executed on the Sun RTS2.2 virtual machine; it illustrates how simulation of critical safety real-time applications in Java can be used to investigate the implementation of possible scoped memory design models and their memory consumption in multi-threaded environments. The simulation demonstrates that a developer is able to compare and choose the most appropriate scoped memory design model that achieves the least memory footprint. Results showed that the memory design model with a higher number of scopes achieved the least memory footprint. However, the number of scopes per se does not always indicate a satisfactory memory footprint; choosing the right objects/threads to be allocated into scopes is an important factor to be considered.
机译:对于关键的实时应用程序,Java实时规范(RTSJ)中的范围内存管理达到了使用垃圾回收技术的应用程序所没有的可预测性。但是,范围内存模型给开发人员带来了新的挑战。首先,作用域之间的引用规则限制了应用程序内存模型的设计。其次,没有适用于不同应用程序的范围内存抽象模型。第三,确定范围的适当数量以及应将哪些对象或线程分配到这些范围中并不是一件容易的事,需要工具来辅助。本文介绍了在Sun RTS2.2虚拟机上执行的铁路控制系统的仿真。它说明了如何使用Java中的关键安全实时应用程序仿真来调查可能的范围内存设计模型的实现及其在多线程环境中的内存消耗。仿真表明,开发人员能够比较和选择最合适的范围内存设计模型,从而实现最少的内存占用。结果表明,具有更大范围的内存设计模型实现了最少的内存占用。但是,范围的数量本身并不总是表示令人满意的内存占用;选择合适的对象/线程分配到作用域是要考虑的重要因素。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号