Affiliation:
1. Lund University, Lund, Sweden
Abstract
The advent of Java and similar languages on the real-time system scene necessitates the development of efficient strategies for scheduling the work of a garbage collector in a non-intrusive way. We propose a scheduling strategy,
time-triggered garbage collection
, based on assigning the collector a deadline for when it must complete its current cycle.We show that a time-triggered GC with fixed deadline can have equal or better real-time performance than an allocation-triggered GC, which is the standard approach to real-time GC. Also, by using a deadline-based approach, the GC scheduling and, consequently, real-time performance, is independent of a complex and error-prone GC work metric.Time-triggered GC allows a more high-level view on GC scheduling; we look at the GC cycle level rather than at the individual work increments. This makes it possible to schedule GC as any other thread. It is also suitable for making the GC auto-tuning by dynamically adjusting its deadline as necessary.We have implemented our approach in a run-time system for Java and present experimental data to support the practical feasibility of the approach.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Integrated Hardware Garbage Collection;ACM Transactions on Embedded Computing Systems;2021-07
2. Real-Time Computing and the Evolution of Embedded System Designs;2018 IEEE Real-Time Systems Symposium (RTSS);2018-12
3. A Dynamic Memory Management Unit for Real Time Systems;2017 IEEE 20th International Symposium on Real-Time Distributed Computing (ISORC);2017-05
4. Idle time garbage collection scheduling;Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation;2016-06-02
5. A switchable approach to large object allocation in real-time Java;TURKISH JOURNAL OF ELECTRICAL ENGINEERING & COMPUTER SCIENCES;2016