Addressing dynamic dispatching issues in WCET analysis for object-oriented hard real-time systems

E Y S Hu, G Bernat, A Wellings

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

Abstract

There is a trend towards using object-oriented-programming languages to develop hard real-time applications. However, some object-oriented-features, such as dynamic dispatching and dynamic loading, are prohibited from being used in hard real-time systems because they are either unpredictable and/or unanalysable. Arguably, these restrictions could make applications very limited and unrealistic since they could eliminate the major advantages of object-oriented programming. This paper demonstrates how we can address the dynamic dispatching issues in Worst-Case Execution Timing (WCET) analysis with minimum annotations. The major contributions include: discussing the major issues involved in using and restricting dynamic binding features; weakening the restriction of using dynamic dispatching; presenting how to estimate tighter and safer WCET value in object-oriented hard real-time systems. Our approach shows that allowing the use of dynamic dispatching can not only provide a more flexible way to develop object-oriented hard real-time applications, but also does not necessarily result in unpredictable timing analysis.

Original languageEnglish
Title of host publicationISORC 2002: FIFTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS
EditorsL Bacellar, P Puschner, S Hong
Place of PublicationLOS ALAMITOS
PublisherIEEE Computer Society
Pages109-116
Number of pages6
ISBN (Print)0-7695-1558-4
Publication statusPublished - 2002
Event5th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2002) - WASHINGTON
Duration: 29 Apr 20011 May 2001

Conference

Conference5th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2002)
CityWASHINGTON
Period29/04/011/05/01

Keywords

  • Java
  • hard real-time systems
  • real-time Java
  • worst-case execution time (WCET) analysis
  • objectoriented WCET
  • dynamic dispatching

Cite this