DocumentCode :
3475534
Title :
Motivations and support for single nested scoping in Ravenscar-Java
Author :
Kwon, Jagun ; Wellings, Andy
Author_Institution :
Dept. of Comput. Sci., York Univ.
fYear :
2006
fDate :
27-28 April 2006
Abstract :
This paper presents an alternative approach to memory management in the Ravenscar-Java profile, a high integrity subset of Java and the real-time specification for Java (RTSJ). The profile was engineered for maximum predictability and reliability, which means that any features that incur run-time overheads and difficulties in analysis are cast out. This has led to a memory management model that is not subject to the unpredictable garbage collection mechanism of Java, and allows only one scoped memory area per thread. Each time an application thread is released, it enters its memory area created in the initialization phase. However, this model is limited in a sense that the size of each memory area must be the maximum a thread will use in each release because the size cannot be modified during the execution. This value is the worst case and pessimistic since such areas cannot be reclaimed and reused. We raise some concerns with Ravenscar-Java in terms of memory usage, resulting in motivations for an alternative approach. Our proposed memory allocation scheme, the single nested scoping approach, allows dynamic yet predictable allocations of memory in each release. It is also safe in a sense that memory areas cannot be shared between application threads, and the single-parent rule of the RTSJ is no longer required. A realistic example is provided at the end as a means of illustrating the use of the single nested scoping approach
Keywords :
Java; formal specification; storage management; Ravenscar-Java profile; memory allocation scheme; memory management; memory usage; real-time specification for Java; run-time overhead; single nested scoping approach; Collaborative software; Computer science; Conferences; Java; Memory management; Predictive models; Reliability engineering; Runtime; Space technology; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Technologies for Future Embedded and Ubiquitous Systems, 2006 and the 2006 Second International Workshop on Collaborative Computing, Integration, and Assurance. SEUS 2006/WCCIA 2006. The Fourth IEEE Workshop on
Conference_Location :
Gyeongju
Print_ISBN :
0-7695-2560-1
Type :
conf
DOI :
10.1109/SEUS-WCCIA.2006.30
Filename :
1611712
Link To Document :
بازگشت