Real Java for Real Time -- Gain and Pain

Anders Nilsson, Torbjörn Ekman, Klas Nilsson

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

1 Downloads (Pure)

Abstract

The Java programming language, being a portable and safe object-oriented language, has gained much interest among embedded and real-time systems developers. However, standard Java implementations exhibit problems with performance, memory footprint, and predictability. The question is then, are these limitations inherent in the technology?
Reviewing run-time aspects and the possibility to compile Java to native code, reveals some real limitations as well as common misconceptions. Investigation of the real limitations shows that for implementing real-time Java on small embedded platforms, native compilation via C is an appropriate solution for many platforms and applications.
A revised technique for Java-compatible memory management is proposed to reduce latencies, and linkage of externally generated (C) code with natively compiled Java is considered in a prototype that has been implemented. Based on application demands and experimental verification, we find that real-time Java can, and should, retain the standard simple Java memory model to the programmer.
Original languageEnglish
Title of host publicationProceedings of the 2002 international conference on Compilers, architecture, and synthesis for embedded systems
PublisherAssociation for Computing Machinery (ACM)
Pages304-311
Number of pages8
ISBN (Print)1-58113-575-0
DOIs
Publication statusPublished - 2002
EventInternational Conference on Compilers, Architecture and Synthesis for Embedded Systems - Grenoble, France
Duration: 2002 Oct 82002 Oct 11

Conference

ConferenceInternational Conference on Compilers, Architecture and Synthesis for Embedded Systems
Country/TerritoryFrance
CityGrenoble
Period2002/10/082002/10/11

Subject classification (UKÄ)

  • Computer Science

Free keywords

  • real-time Java
  • rtj
  • embedded systems

Fingerprint

Dive into the research topics of 'Real Java for Real Time -- Gain and Pain'. Together they form a unique fingerprint.

Cite this