Compiling java for low-end embedded systems
Authors:
Open Access
- 11 June 2003
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 38 (7) , 42-50
Abstract
The production of embedded systems is continuously increasing, but developing reusable software for such systems is notoriously difficult, in particular in the case of low-end embedded systems based on 16-bit or 8-bit processors. We have developed a compilation system for executing Java byte code on low-end embedded systems, and we demonstrate how this system permits object-oriented programming techniques to be used on devices with only a few hundred bytes of RAM and a few kilobytes of ROM.We analyze the execution overheads of using object-orien\-ted programming on low-end embedded systems. Based on the conclusion that memory consumption is the major obstacle, we show how the configuration features and optimizations integrated into our compiler can be used to significantly reduce memory requirements. In particular, we use a novel approach based on Java interfaces to control integration of Java programs with the hardware, and demonstrate how aggressive whole-program optimization can significantly reduce the size of the compiled program.Keywords
This publication has 18 references indexed in Scilit:
- Automatic program specialization for JavaACM Transactions on Programming Languages and Systems, 2003
- Real Java for real time - gain and pain2002
- A dynamic optimization framework for a Java just-in-time compiler2001
- Techniques for obtaining high performance in Java programsACM Computing Surveys, 2000
- Optimization of Object-Oriented Programs Using Static Class Hierarchy Analysis2000
- Escape analysis for object-oriented languages1999
- JML: A Notation for Detailed Design1999
- Thin locks1998
- The treadmillACM SIGPLAN Notices, 1992
- On-the-fly garbage collectionCommunications of the ACM, 1978