Exploiting Static Application Knowledge in a Java Compiler for Embedded Systems: A Case Study

Erhardt C, Stilkerich M, Lohmann D, Schröder-Preikschat W (2011)


Publication Type: Conference contribution

Publication year: 2011

Publisher: ACM

Edited Volumes: ACM International Conference Proceeding Series

City/Town: New York, NY, USA

Pages Range: 96-105 -- Best Papers at JTRES

Conference Proceedings Title: Proceedings of the 9th International Workshop on Java Technologies for Real-Time and Embedded Systems

Event location: York, UK

ISBN: 978-1-4503-0731-4

URI: http://www4.cs.fau.de/Publications/2011/erhardt_11_jtres.pdf

DOI: 10.1145/2043910.2043927

Abstract

Offering many benefits in terms of productivity and reliability, Java is becoming an attractive choice for the field of embedded computing. However, its programming model that relies on the capabilities of just-in-time compilation limits the opportunities to generate highly optimized code in an ahead-of-time compiler. In the KESO project, a Java VM for statically-configured deeply embedded systems, we have previously used static application knowledge to create a tailored runtime environment. In this paper, we present and discuss how this static knowledge can further be exploited by our compiler in order to perform advanced optimizations that would otherwise not be achievable. We conducted a case study with the CDx real-time benchmark in which we examined the peculiarities and challenges that arise, and evaluated the effectiveness of both standard and system-model-specific compiler optimizations in the context of a static embedded application model. Our results show that incorporating the available a-priori knowledge in the compiler provides significant improvements to both footprint and runtime, and can additionally help the system integrator to identify consistency problems between the code and a higher-level system specification at an early development stage. © 2011 ACM.

Authors with CRIS profile

How to cite

APA:

Erhardt, C., Stilkerich, M., Lohmann, D., & Schröder-Preikschat, W. (2011). Exploiting Static Application Knowledge in a Java Compiler for Embedded Systems: A Case Study. In Proceedings of the 9th International Workshop on Java Technologies for Real-Time and Embedded Systems (pp. 96-105 -- Best Papers at JTRES). York, UK: New York, NY, USA: ACM.

MLA:

Erhardt, Christoph, et al. "Exploiting Static Application Knowledge in a Java Compiler for Embedded Systems: A Case Study." Proceedings of the The 9th International Workshop on Java Technologies for Real-time and Embedded Systems (JTRES 2011), York, UK New York, NY, USA: ACM, 2011. 96-105 -- Best Papers at JTRES.

BibTeX: Download