Skip to Main Content
Scoped memory management in RTSJ (Real-time Specification for Java) achieves a level of predictability not found in applications that use garbage collection techniques. However, using scopes in the development process is a difficult task. Deciding on the appropriate number of scopes and which objects or threads should be allocated into them require assisting tools. This paper presents a simulation of railway control system executed in RTS2.2 virtual machine. Different scoped memory design models can be implemented in this simulation to measure the memory consumption for each overtime. Data obtained by the simulation when different scoped memory models implemented showed that the developer can compare and choose the most appropriate scoped memory design model that achieves the least memory footprint.
Date of Conference: March 30 2011-April 1 2011