DocumentCode
3282503
Title
Aspect-Based Instrumentation for Locating Memory Leaks in Java Programs
Author
Chen, Kung ; Chen, Ju-Bing
Author_Institution
Nat. Chengchi Univ., Taipei
Volume
2
fYear
2007
fDate
24-27 July 2007
Firstpage
23
Lastpage
28
Abstract
Despite the built-in garbage collector, Java programs can still suffer the memory leak problem resulted from the unhealthy programming style of retaining unwanted references. This paper presents an aspect-based tool for assisting programmers in locating such references to fix the problem. This tool, FindLeaks, utilizes an aspect to collect memory consumption statistics and object references created during a program´s execution and analyzes them for detecting memory leaks. The distinctive feature of FindLeaks is that it reports not only suspected classes of leaking objects but also where in the source the unwanted references were created. Besides, this paper also reports some preliminary experience with FindLeaks.
Keywords
Java; object-oriented programming; storage management; FindLeaks; Java programs; aspect-based instrumentation; aspect-based tool; garbage collector; memory consumption statistics; memory leaks; object references; Computer science; Information analysis; Instruments; Java; Joining processes; Leak detection; Monitoring; Object detection; Programming profession; Statistical analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference, 2007. COMPSAC 2007. 31st Annual International
Conference_Location
Beijing
ISSN
0730-3157
Print_ISBN
0-7695-2870-8
Type
conf
DOI
10.1109/COMPSAC.2007.79
Filename
4291098
Link To Document