Compilation Techniques for Real-Time Java Programs
Mike Fulton, Mark Stoodley · International Symposium on Code Generation and Optimization (CGO) · 2007
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
Cited by 18 works. doi:10.1109/cgo.2007.5
Authors
References
- The Java Language Specification
- The real-time specification for Java
- Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
- A real-time garbage collector with low overhead and consistent utilization
- Real-time Java : platform programming
- Concurrent and Real-Time Programming in Java
- Issues in the Design and Implementation of Real-Time Java
- Evaluating real-time Java features and performance for real-time embedded systems
- Real-time Java scoped memory: design patterns and semantics
- Controlling fragmentation and space consumption in the metronome, a real-time garbage collector for Java