Memory management of safety-critical hard real-time systems designed in SystemJ

被引:1
|
作者
Malik, Avinash [1 ]
Park, HeeJong [1 ]
Nadeem, Muhammad [1 ]
Salcic, Zoran [1 ]
机构
[1] Univ Auckland, Dept Elect & Comp Engn, Auckland, New Zealand
关键词
Compiler; Static analysis; WCET; SystemJ; Garbage collection; !text type='JAVA']JAVA[!/text; CACHE;
D O I
10.1016/j.micpro.2018.10.007
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
SystemJ is a programming language based on the Globally Asynchronous Locally Synchronous (GALS) Model of Computation (MoC) used to design safety critical hard real-time systems. SystemJ uses the Java programming language as the "host" language, for carrying out data computations, because Java provides clearly defined operational semantics, type and memory safety in the form of the Garbage Collector (GC), which help with formal functional verification. The same GC, which helps in functional verification, makes Worst Case Reaction Time (WCRT)(1) analysis challenging. Any WCRT analysis framework for GALS programs needs to consider the operations performed by the host language. It has been shown that the worst case time estimates for garbage collection cycles are in seconds, whereas the program's WCRT itself is in micro-seconds. These pessimistic estimates render the WCRT analysis framework ineffective. In order to overcome this problem, we develop a compiler assisted memory management technique for applications written in SystemJ. The SystemJ MoC plays the central role in the proposed technique. The SystemJ MoC allows clearly demarcating the state boundaries of the program, which in turn allows us to partition the heap, at compile time, into two distinct areas: (1) the memory area called the permanent heap, which holds objects that are alive throughout the life time of the application, and (2) the memory area used to hold all other objects, called the transient heap. The size of these memory areas are bounded statically. Furthermore, the memory allocation and reclaim procedures are simple load and pointer reset operations, respectively, which are guaranteed to complete within a bounded number of clock-cycles, thereby alleviating the need for large pessimistic WCRT bounds obtained due to the GC. Experimental results also show that the proposed approach is approximately three times faster, in terms of memory allocation times as compared to standard real-time GC approaches. (C) 2018 Elsevier B.V. All rights reserved.
引用
收藏
页码:101 / 119
页数:19
相关论文
共 50 条
  • [1] Decomposition in real-time safety-critical systems
    Mukherjee, P
    Stavridou, V
    REAL-TIME SYSTEMS, 1998, 14 (02) : 183 - 202
  • [2] Decomposition in Real-Time Safety-Critical Systems
    Paul Mukherjee
    Victoria Stavridou
    Real-Time Systems, 1998, 14 : 183 - 202
  • [3] Requirements and hard computational bounds for real-time optimization in safety-critical control systems
    McGovern, LK
    Feron, E
    PROCEEDINGS OF THE 37TH IEEE CONFERENCE ON DECISION AND CONTROL, VOLS 1-4, 1998, : 3366 - 3371
  • [4] Special section on real-time safety-critical systems
    Janusz Zalewski
    Innovations in Systems and Software Engineering, 2009, 5 (2) : 95 - 96
  • [5] Hardware Certification for Safety-Critical Real-Time Systems
    Kornecki, Andrew J.
    Zalewski, Janusz
    IFAC WORKSHOP ON PROGRAMMABLE DEVICES AND EMBEDDED SYSTEMS (PDES 2009), PROCEEDINGS, 2009, : 1 - 12
  • [6] Special section on real-time safety-critical systems
    Zalewski, Janusz
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2009, 5 (02) : 95 - 96
  • [7] The Shift to Multicores in Real-Time and Safety-Critical Systems
    Saidi, Selina
    Ernst, Rolf
    Uhrig, Sascha
    Theiling, Henrik
    de Dinechin, Benoit Dupont
    2015 INTERNATIONAL CONFERENCE ON HARDWARE/SOFTWARE CODESIGN AND SYSTEM SYNTHESIS (CODES+ISSS), 2015, : 220 - 229
  • [8] REAL-TIME SAFETY-CRITICAL SYSTEMS - ANALYSIS AND SYNTHESIS
    BURNS, A
    MCDERMID, JA
    SOFTWARE ENGINEERING JOURNAL, 1994, 9 (06): : 267 - 281
  • [9] Quality requirements for real-time safety-critical systems
    Kirner, TG
    CONTROL ENGINEERING PRACTICE, 1997, 5 (07) : 965 - 973
  • [10] Functional Uncertainty in Real-Time Safety-Critical Systems
    Baruah, Sanjoy
    Burns, Alan
    Griffin, David
    PROCEEDINGS OF THE 30TH INTERNATIONAL CONFERENCE ON REAL-TIME NETWORKS AND SYSTEMS, RTNS 2022, 2022, : 1 - 11