首页 | 本学科首页   官方微博 | 高级检索  
     


Simulation of safety-critical,real-time Java: A case study of dynamic analysis of scoped memory consumption
Affiliation:1. Faculty of Electrical Engineering, Department of Control Engineering, K. N. Toosi University of Technology, Tehran, Iran;2. Faculty of Electrical Engineering, Department of Mechatronics Engineering, K. N. Toosi University of Technology, Tehran, Iran;1. School of Electrical and Computer Engineering, National Technical University of Athens, Iroon Politechniou 9, 15773 Athens, Greece;2. Department of Electronics Engineering, Piraeus University of Applied Sciences, Petrou Ralli & Thivon 250, 12244 Aegaleo, Greece
Abstract: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.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号