• DocumentCode
    2235750
  • Title

    Compilation Techniques for Real-Time Java Programs

  • Author

    Fulton, Mike ; Stoodley, Mark

  • Author_Institution
    IBM Canada Ltd., Markham, Ont.
  • fYear
    2007
  • fDate
    11-14 March 2007
  • Firstpage
    221
  • Lastpage
    231
  • Abstract
    In this paper, we introduce the IBMreg WebSpherereg real time product, which incorporates a virtual machine that is fully Javatrade compliant as well as compliant with the Real-Time Specification for Java (RTSJ). We describe IBM´s real-time Java enhancements, particularly in the area of our Testarossa (TR) ahead-of-time (AOT) compiler, our TR just-in-time (JIT) compiler, and our Metronome (Bacon, et al., 2003) deterministic garbage collector (GC). The main focus of this paper is on the various techniques employed by the TR compilers to optimize and regulate the performance of code running in a real-time Java environment through a simple Java source code example. Through the example, we highlight the additional checks required to provide a conformant RTSJ implementation as well as the performance issues with ahead-of-time code generation and the overheads required to support Metronome. We show how these checks are implemented in a production JVM, and then report the cost of the real-time changes in practice for the example as well as the SPECjvm98 benchmark suite, SPECjbb2000, and SPECjbb2005
  • Keywords
    Java; formal specification; program compilers; storage management; virtual machines; IBM WebSphere real time product; Java real-time specification; Java virtual machine; Metronome deterministic garbage collector; SPECjbb2000; SPECjbb2005; SPECjvm98 benchmark suite; Testarossa compiler; ahead-of-time compiler; just-in-time compiler; program compilation; real-time Java programs; Computer languages; Costs; Java; Optimizing compilers; Production; Programming profession; Real time systems; Safety; Testing; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization, 2007. CGO '07. International Symposium on
  • Conference_Location
    San Jose, CA
  • Print_ISBN
    0-7695-2764-7
  • Type

    conf

  • DOI
    10.1109/CGO.2007.5
  • Filename
    4145117