Home > Papers

 
 
A Tool for Testing Java Memory Leaks
DANG Wanchun 1,QIAN Ju 2,ZHOU Xiaoyu 3 *
1.School of Computer Science and Engineering, Southeast University, Nanjing 211189
2. Key Laboratory of Computer Network and Information Integration(Southeast University), Ministry of Education, Nanjing 211189
3.College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016
*Correspondence author
#Submitted by
Subject:
Funding: none
Opened online:28 August 2014
Accepted by: none
Citation: DANG Wanchun,QIAN Ju,ZHOU Xiaoyu.A Tool for Testing Java Memory Leaks[OL]. [28 August 2014] http://en.paper.edu.cn/en_releasepaper/content/4606824
 
 
Even with a built-in garbage collector, Java programs still suffer from memory leak problems caused by useless references to stale objects. Lots of researches have been conducted for the diagnosing of leaking failures. However, testing and identifying the leaking runs, which act as key steps before diagnosing, are still challenging. In this paper, we introduce a leak specification tool named LeakSpec to help programmers test memory leaks in Java programs. The specification works as a test oracle to automatically determine whether a program suffers from memory leaks. Users can write their own leak specifications using our specification language. LeakSpec weaves the specification checking mechanisms into the tested programs. During test runs, a memory leak failure will be reported if the some specifications are not satisfied. With this specification-based approach, a tester does not need to manually watch the program executions to identify memory leaks. The automatically reporting of memory leaks can reduce the manual efforts in leak testing. We test the proposed approach on ArgoUML. The results show that it is effective.?????
Keywords:Java memory leak; testing tool; specification?????
 
 
 

For this paper

  • PDF (0B)
  • ● Revision 0   
  • ● Print this paper
  • ● Recommend this paper to a friend
  • ● Add to my favorite list

    Saved Papers

    Please enter a name for this paper to be shown in your personalized Saved Papers list

Tags

Add yours

Related Papers

Statistics

PDF Downloaded 140
Bookmarked 0
Recommend 5
Comments Array
Submit your papers