loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2007 31st Annual International Computer Software and Applications Conference
Aspect-Based Instrumentation for Locating Memory Leaks in Java Programs
Beijing, China
July 24-July 27
ISBN: 0-7695-2870-8
Kung Chen, National Chengchi University, Taipei, Taiwan
Ju-Bing Chen, National Chengchi University, Taipei, Taiwan
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.
Citation:
Kung Chen, Ju-Bing Chen, "Aspect-Based Instrumentation for Locating Memory Leaks in Java Programs," compsac, vol. 2, pp.23-28, 2007 31st Annual International Computer Software and Applications Conference, 2007
Usage of this product signifies your acceptance of the Terms of Use.