ACM Home Page
Please provide us with feedback. Feedback
Controlling fragmentation and space consumption in the metronome, a real-time garbage collector for Java
Full text PdfPdf (354 KB)
Source Language, Compiler and Tool Support for Embedded Systems archive
Proceedings of the 2003 ACM SIGPLAN conference on Language, compiler, and tool for embedded systems table of contents
San Diego, California, USA
SESSION: Memory management table of contents
Pages: 81 - 92  
Year of Publication: 2003
ISBN:1-58113-647-1
Also published in ...
Authors
David F. Bacon  IBM T.J. Watson Research Center, Yorktown Heights, NY
Perry Cheng  IBM T.J. Watson Research Center, Yorktown Heights, NY
V. T. Rajan  IBM T.J. Watson Research Center, Yorktown Heights, NY
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 59,   Citation Count: 20
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/780732.780744
What is a DOI?

ABSTRACT

Now that the use of garbage collection in languages like Java is becoming widely accepted due to the safety and software engineering benefits it provides, there is significant interest in applying garbage collection to hard real-time systems. Past approaches have generally suffered from one of two major flaws: either they were not provably real-time, or they imposed large space overheads to meet the real-time bounds.Our previous work [3] presented the Metronome, a mostly non-copying real-time collector. The Metronome achieves worst-case pause times of 6 milliseconds while maintaining consistent mutator CPU utilization rates of 50% with only 1.5-2.1 times the maximum heap space required by the application, which is comparable with space requirements for stop-the-world collectors.However, that algorithm assumed a constant collection rate, ignored program-dependent characteristics, and lacked a precise specification for when to trigger collection or how much defragmentation to perform. This paper refines the model by taking into account program properties such as pointer density, average object size, and locality of object size. This allows us to bound both the time for collection and consequently the space overhead required much more tightly. We show experimentally that most parameters usually are not subject to large variation, indicating that a small number of parameters will be sufficient to predict the time and space requirements accurately.Our previous work also did not present the details of our approach to avoiding and undoing fragmentation. In this paper we present a more detailed analysis of fragmentation than in previous work, and show how our collector is able to bound fragmentation to acceptable limits.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
3
4
5
6
 
7
8
9
10
 
11
 
12
 
13
HENRIKSSON,R.Scheduling Garbage Collection in Embedded Systems. PhD thesis, Lund Institute of Technology, July 1998.
 
14
15
16
17
 
18

CITED BY  20

Collaborative Colleagues:
David F. Bacon: colleagues
Perry Cheng: colleagues
V. T. Rajan: colleagues