• DocumentCode
    2331750
  • Title

    Scoped types for real-time Java

  • Author

    Zhao, Tian ; Noble, James ; Vitek, Jan

  • Author_Institution
    Wisconsin Univ., Milwaukee, WI, USA
  • fYear
    2004
  • fDate
    5-8 Dec. 2004
  • Firstpage
    241
  • Lastpage
    251
  • Abstract
    A memory model based on scoped areas is one of the distinctive features of the Real-Time Specification for Java (RTSJ). Scoped types ensure timely reclamation of memory and predictable performance. The price to pay for these benefits is an unfamiliar programming model that, at the same time, is complex, requires checking all memory accesses, and rewards design-time errors with run-time crashes. We investigate an alternative approach, referred to as scoped types, that simplifies the task of managing memory in real-time codes. The key feature of our proposal is that the run-time partition of memory imposed by scoped areas is straightforwardly mirrored in the program text. Thus cursory inspection of a program reveals which objects inhabit the different scopes, significantly simplifying the task of understanding real-time Java programs. Moreover, we introduce a type system which ensures that no run-time errors due to memory access checks occur. Thus a RTSJ-compliant virtual machine does not require memory access checks. The contributions of this paper are the concept of scoped types, and a proof soundness of the type system. Experimental results are described in future work.
  • Keywords
    Java; formal specification; real-time systems; storage management; system recovery; virtual machines; Real-Time Specification for Java; memory access checks; memory management; run-time partition; scoped types; virtual machine; Computer crashes; Inspection; Java; Memory management; Proposals; Real time systems; Runtime; Safety; Virtual machining; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems Symposium, 2004. Proceedings. 25th IEEE International
  • ISSN
    1052-8725
  • Print_ISBN
    0-7695-2247-5
  • Type

    conf

  • DOI
    10.1109/REAL.2004.51
  • Filename
    1381311