Toward libraries for real-time Java

Trevor Harmon, Martin Schoeberl, Raimund Kirner, Raymond Klefstad

Research output: Chapter in Book/Report/Conference proceedingConference contribution

6 Citations (Scopus)
27 Downloads (Pure)


Reusable libraries are problematic for real-time software in Java. Using Java's standard class library, for example, demands meticulous coding and testing to avoid response time spikes and garbage collection. We propose two design requirements for reusable libraries in real-time systems: worst-case execution time (WCET) bounds and worst- case memory consumption bounds. Furthermore, WCET cannot be known if blocking method calls are used. We have applied these requirements to the design of three Java-based prototypes: a set of collection classes, a networking stack, and trigonometric functions. Our prototypes show that reusable libraries can meet these requirements and thus be viable for real-time systems.
Original languageEnglish
Title of host publicationIn: Procs of 11th IEEE International Symposium on Object Oriented Real-Time Distributed Computing
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Number of pages5
ISBN (Print)978-0-7695-3132-8
Publication statusPublished - 2008
Event11th IEEE Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing - Orlando
Duration: 5 May 20087 May 2008


Conference11th IEEE Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing


  • Java
  • WCET
  • libraries
  • real-time


Dive into the research topics of 'Toward libraries for real-time Java'. Together they form a unique fingerprint.

Cite this