Abstract
Java finalizers perform clean-up and finalisation of objects at garbage collection time. In real-time Java profiles the use of finalizers is either discouraged (RTSJ, Ravenscar Java) or even disallowed (JSR-302), mainly because of the unpredictability of finalizers and in particular their impact on the schedulability analysis. In this paper we show that a controlled scoped memory model results in a structured and predictable execution of finalizers, more reminiscent of
C++ destructors than Java finalizers. Furthermore, we incorporate finalizers into a (conservative) schedulability analysis for Predictable Java programs. Finally, we extend the SARTS tool for automated schedulability analysis of Java bytecode programs to handle finalizers in a fully automated way.
C++ destructors than Java finalizers. Furthermore, we incorporate finalizers into a (conservative) schedulability analysis for Predictable Java programs. Finally, we extend the SARTS tool for automated schedulability analysis of Java bytecode programs to handle finalizers in a fully automated way.
| Originalsprog | Engelsk |
|---|---|
| Publikationsdato | aug. 2010 |
| Antal sider | 7 |
| Status | Udgivet - aug. 2010 |
| Begivenhed | The 8th International Workshop on Java Technologies for Real-time and Embedded Systems - Prag, Tjekkiet Varighed: 19 aug. 2010 → 21 aug. 2010 Konferencens nummer: 8 |
Konference
| Konference | The 8th International Workshop on Java Technologies for Real-time and Embedded Systems |
|---|---|
| Nummer | 8 |
| Land/Område | Tjekkiet |
| By | Prag |
| Periode | 19/08/10 → 21/08/10 |
Emneord
- it