arrow
返回

Precise Memory Leak Detection for Java Software Using Container Profiling

delete2013-07-30
delete23
delete
OA
AI
G
Guoqing Xu *
A
Atanas Rountev
DOI:10.1145/2491509.2491511delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
A memory leak in a Java program occurs when object references that are no longer needed are unnecessarily maintained. Such leaks are difficult to detect because static analysis typically cannot precisely identify these redundant references, and existing dynamic leak detection tools track and report fine-grained information about individual objects, producing results that are usually hard to interpret and lack precision. In this article we introduce a novel container-based heap-tracking technique, based on the fact that many memory leaks in Java programs occur due to incorrect uses of containers, leading to containers that keep references to unused data entries. The novelty of the described work is twofold: (1) instead of tracking arbitrary objects and finding leaks by analyzing references to unused objects, the technique tracks only containers and directly identifies the source of the leak, and (2) the technique computes a confidence value for each container based on a combination of its memory consumption and its elements' staleness (time since last retrieval), while previous approaches do not consider such combined metrics. Our experimental results show that the reports generated by the proposed technique can be very precise: for two bugs reported by Sun, a known bug in SPECjbb 2000, and an example bug from IBM developerWorks, the top containers in the reports include the containers that leak memory.
Keyword:
Design
Algorithms
Performance
Memory leaks
container profiling
leaking confidence
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

University of California System 封面图
University of California System
学者数:
37.5W
论文数: 33.7W
被引数: 6.6K
U
university of california irvine
学者数:
2.3W
论文数: 1.7W
被引数: 55
引用论文

引用论文

Valence Band Modification of a (GaxIn1–x)2O3 Solid Solution System Fabricated by Combinatorial Synthesis
err2020-07-13
err0
PREAI
errTakahiro Nagata; Takeshi Hoga; Akihiro Yamashita; Toru Asahi; Shinjiro Yagyu; Toyohiro Chikyow
err分享
err收藏
err分享
err收藏
Swelling of linear polymers in mixed swelling agents; predictability by means of solubility parameters
err1976-09-01
err0
errOAAI
errP.E. Froehling; D.M. Koenhen; A. Bantjes; C.A. Smolders
err分享
err收藏
Four Trends Leading to Java Runtime Bloat
err2010-01-01
err49
PREAI
errMitchell, Nick; Schonberg, Edith; Sevitsky, Gary
err分享
err收藏
Maintenance immunosuppression in heart transplantation: insights from network meta-analysis of various immunosuppression regimens
err2020-05-18
err0
PREAI
errHiroki Ueyama; Toshiki Kuno; Hisato Takagi; Paulino Alvarez; Rabea Asleh; Alexandros Briasoulis
err分享
err收藏
Neuronal gelsolin prevents apoptosis by enhancing actin depolymerization
err2004-01-01
err0
PREAI
errChristoph Harms; Julian Bösel; Marion Lautenschlager; Ulrike Harms; Johann S Braun; Heide Hörtnagl; Ulrich Dirnagl; David J Kwiatkowski; Klaus Fink; Matthias Endres
err分享
err收藏
Incidence of Platelet Dysfunction by Thromboelastography–Platelet Mapping in Children Supported with ECMO: A Pilot Retrospective Study
err2016-01-06
err0
errOAAI
errArun Saini; Mary E. Hartman; Brian F. Gage; Ahmed Said; Avihu Z. Gazit; Pirooz Eghtesady; Umar S. Boston; Philip C. Spinella
err分享
err收藏
学者 查看更多内容