ACM Home Page
Please provide us with feedback. Feedback
Bell: bit-encoding online memory leak detection
Full text PdfPdf (446 KB)
Source ACM SIGOPS Operating Systems Review archive
Volume 40 ,  Issue 5  (December 2006) table of contents
Proceedings of the 2006 ASPLOS Conference
SESSION: Races and memory debugging I table of contents
Pages: 61 - 72  
Year of Publication: 2006
ISSN:0163-5980
Also published in ...
Authors
Michael D. Bond  University of Texas at Austin
Kathryn S. McKinley  University of Texas at Austin
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 11,   Downloads (12 Months): 78,   Citation Count: 12
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/1168917.1168866
What is a DOI?

ABSTRACT

Memory leaks compromise availability and security by crippling performance and crashing programs. Leaks are difficult to diagnose because they have no immediate symptoms. Online leak detection tools benefit from storing and reporting per-object sites (e.g., allocation sites) for potentially leaking objects. In programs with many small objects, per-object sites add high space overhead, limiting their use in production environments.This paper introduces Bit-Encoding Leak Location (Bell), a statistical approach that encodes per-object sites to a single bit per object. A bit loses information about a site, but given sufficient objects that use the site and a known, finite set of possible sites, Bell uses brute-force decoding to recover the site with high accuracy.We use this approach to encode object allocation and last-use sites in Sleigh, a new leak detection tool. Sleigh detects stale objects (objects unused for a long time) and uses Bell decoding to report their allocation and last-use sites. Our implementation steals four unused bits in the object header and thus incurs no per-object space overhead. Sleigh's instrumentation adds 29% execution time overhead, which adaptive profiling reduces to 11%. Sleigh's output is directly useful for finding and fixing leaks in SPEC JBB2000 and Eclipse, although sufficiently many objects must leak before Bell decoding can report sites with confidence. Bell is suitable for other leak detection approaches that store per-object sites, and for other problems amenable to statistical per-object metadata.


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
BEA. JRockit. http://dev2dev.bea.com/jrockit/.
 
3
BEA. JRockit Mission Control. http://dev2dev.bea.com/jrockit/-tools.html.
4
 
5
6
7
8
 
9
CERT/CC. CERT/CC Advisories. http://www.cert.org/advisories/.
10
 
11
 
12
Commons-Math: The Jakarta Mathematics Library. http://jakarta.-apache.org/commons/math/.
 
13
 
14
 
15
Eclipse.org Home. http://www.eclipse.org/.
 
16
J. Fenn and A. Linden. Hype Cycle Special Report for 2005. Gartner Group.
 
17
N. Grcevski, A. Kielstra, K. Stoodley, M. G. Stoodley, and V. Sundaresan. Java Just-in-Time Compiler and Virtual Machine Improvements for Server and Middleware Applications. In Virtual Machine Research and Technology Symposium, pages 151--162, 2004.
 
18
R. Hastings and B. Joyce. Purify: Fast Detection of Memory Leaks and Access Errors. In Winter USENIX Conference, pages 125--136, 1992.
19
 
20
Jikes RVM Research Archive. http://jikesrvm.sourceforge.net/info/-research-archive.shtml.
21
 
22
M. Jump and K.S. McKinley. Cork: Dynamic Memory Leak Detection for Java. Technical Report TR-06-07, The University of Texas at Austin, 2006. Under submission.
 
23
 
24
N. Mitchell and G. Sevitsky. LeakBot: An Automated and Lightweight Tool for Diagnosing Memory Leaks in Large Java Applications. In European Conference on Object-Oriented Programming, pages 351--377, 2003.
 
25
N. Nethercote and J. Seward. Valgrind: A Program Supervision Framework. Electronic Notes in Theoretical Computer Science, 89(2), 2003.
 
26
 
27
Quest. JProbe Memory Debugger. http://www.quest.com/jprobe/-debugger.asp.
 
28
SciTech Software. .NET Memory Profiler. http://www.scitech.se/-memprofiler/.
 
29
D. Scott. Assessing the Costs of Application Downtime. Gartner Group, 1998.
 
30
Standard Performance Evaluation Corporation. SPECjvm98 Documentation, release 1.03 edition, 1999.
 
31
Standard Performance Evaluation Corporation. SPECjbb2000 Documentation, release 1.01 edition, 2001.
 
32
US-CERT. US-CERT Vulnerability Notes Database. http://www.kb.cert.org/vuls/.
 
33
B. Zorn. Barrier Methods for Garbage Collection. Technical Report CU-CS-494-90, University of Colorado at Boulder, 1990.

CITED BY  12
 
 

Collaborative Colleagues:
Michael D. Bond: colleagues
Kathryn S. McKinley: colleagues