DocumentCode :
2834181
Title :
Cost monitoring and enforcement in the real-time specification for Java $a formal evaluation
Author :
Dos Santos, Osmar Marchi ; Wellings, Andy
Author_Institution :
Dept. of Comput. Sci., York Univ.
fYear :
2005
fDate :
8-8 Dec. 2005
Lastpage :
186
Abstract :
The real-time specification for Java (RTSJ) provides an integrated approach to scheduling periodic threads and monitoring their CPU execution time. It defines a cost enforcement model whereby a periodic thread is suspended when it consumes more CPU time (budget) than it requested. However, the support for this model is optional and it is generally not given by most implementations. Consequently, this aspect of the specification has not been rigorously evaluated. In this paper we define a formal model of the RTSJ cost monitoring and enforcement approach using the extended timed automata formalism provided in the UPPAALtool. Using the model, properties are explored and it is shown that whilst implementations that conform to the RTSJ specification are free from potential deadlock, the specification allows an implementation, under certain circumstances, to give a periodic thread more than its CPU budget in one period. These circumstances are detailed and a correction to the RTSJ specification is suggested to remove this anomaly
Keywords :
Java; automata theory; formal specification; real-time systems; scheduling; Java; UPPAALtool; cost monitoring; periodic thread scheduling; real-time specification; timed automata; Automata; Computer languages; Computer science; Computerized monitoring; Costs; Java; Processor scheduling; Runtime; System recovery; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Real-Time Systems Symposium, 2005. RTSS 2005. 26th IEEE International
Conference_Location :
Miami, FL
ISSN :
1052-8725
Print_ISBN :
0-7695-2490-7
Type :
conf
DOI :
10.1109/RTSS.2005.14
Filename :
1563106
Link To Document :
بازگشت