ACM Home Page
Please provide us with feedback. Feedback
Error-free garbage collection traces: how to cheat and not get caught
Full text PdfPdf (105 KB)
Source Joint International Conference on Measurement and Modeling of Computer Systems archive
Proceedings of the 2002 ACM SIGMETRICS international conference on Measurement and modeling of computer systems table of contents
Marina Del Rey, California
SESSION: Computer performance evaluation techniques table of contents
Pages: 140 - 151  
Year of Publication: 2002
ISBN:1-58113-531-9
Also published in ...
Authors
Matthew Hertz  University of Massachusetts, Amherst, MA
Stephen M Blackburn  University of Massachusetts, Amherst, MA
J Eliot B Moss  University of Massachusetts, Amherst, MA
Kathryn S. McKinley  University of Texas at Austin, Austin, TX
Darko Stefanović  University of New Mexico, Albuquerque, NM
Sponsor
SIGMETRICS: ACM Special Interest Group on Measurement and Evaluation
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 20,   Citation Count: 17
Additional Information:

abstract   references   cited by   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/511334.511352
What is a DOI?

ABSTRACT

Programmers are writing a large and rapidly growing number of programs in object-oriented languages such as Java that require garbage collection (GC). To explore the design and evaluation of GC algorithms quickly, researchers are using simulation based on traces of object allocation and lifetime behavior. The brute force method generates perfect traces using a whole-heap GC at every potential GC point in the program. Because this process is prohibitively expensive, researchers often use granulated traces by collecting only periodically, e.g., every 32K bytes of allocation.We extend the state of the art for simulating GC algorithms in two ways. First, we present a systematic methodology and results on the effects of trace granularity for a variety of copying GC algorithms. We show that trace granularity often distorts GC performance results compared with perfect traces, and that some GC algorithms are more sensitive to this effect than others. Second, we introduce and measure the performance of a new precise algorithm for generating GC traces which is over 800 times faster than the brute force method. Our algorithm, called Merlin, frequently timestamps objects and later uses the timestamps of dead objects to reconstruct precisely when they died. It performs only periodic garbage collections and achieves high accuracy at low cost, eliminating any reason to use granulated traces.


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
BELADY, L. A. A study of replacement algorithms for a virtual-storage computer. IBM Systems Journal 5(2) (1966), 78-101.
5
6
7
8
9
 
10
NATRELLA, M. G. Experimental Statistics. US Department of Commerce, Washington, DC, 1963.
 
11
NYSTROM, N. Bytecode-level analysis and optimization of Java classfiles. Master's thesis, Purdue University, West Lafayette, IN, May 1998.
12
13
14
15
16
 
17
 
18
ZORN, B., AND GRUNWALD, D. Evaluating models of memory allocation. Tech. Rep. CU-CS-603-92, University of Colorado at Boulder, Boulder, CO, July 1992.
 
19

CITED BY  17
 
Collaborative Colleagues:
Matthew Hertz: colleagues
Stephen M Blackburn: colleagues
J Eliot B Moss: colleagues
Kathryn S. McKinley: colleagues
Darko Stefanović: colleagues

Peer to Peer - Readers of this Article have also read: