Skip to main navigation Skip to search Skip to main content

ARA: Static Initialization of Dynamically-Created System Objects

Björn Fiedler*, Daniel Lohmann, Christian Werner Dietrich, Daniel Lohmann

*Corresponding author for this work

Research output: Chapter in book/report/conference proceedingConference contributionResearchpeer review

Abstract

After power-on, crash or reboot, the system-setup point is the first deadline that a safety-critical system has to reach. Up to this point, the application not only initializes its own state but it also creates all necessary system objects (e.g., threads, mutexes, alarms,...) in the real-time operating system. And, while the strict requirements for real-time analyses often result in a rather static set of created system objects, the commonly-provided real-time operating system (RTOS) interfaces force developers to execute these creations at run time, resulting in an unnecessarily prolonged boot process. With ARA, we present a static whole-system transformation that discovers pseudo-dynamic system-object creations (SOCs) which yield the same object on every boot. By modifying the application and by RTOS specialization, we transform these SOCs to semantically equivalent static SOCs, which moves their instantiation from the run time to the compile time. Thereby, we maintain the well-known RTOS interfaces for dynamic SOCs but let developers enjoy the benefits that static initialization provides. In our case studies with FreeRTOS applications, we could reduce the boot time by up to 43 percent at a moderate increase of flash usage.

Original languageEnglish
Title of host publicationProceedings. 2021 IEEE 27th Real-Time and Embedded Technology and Applications Symposium
Subtitle of host publicationRTAS 2021
PublisherIEEE
Pages400-412
Number of pages13
ISBN (Electronic)9781665403863
ISBN (Print)978-1-6654-0386-3
DOIs
Publication statusPublished - 2021
Event27th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2021 -
Duration: 18 May 202121 May 2021

Publication series

Name
ISSN (Electronic)2642-7346

Conference

Conference27th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2021
Period18 May 202121 May 2021

ASJC Scopus subject areas

  • General Engineering

Cite this