A Detection and Measurement Approach for Memory Leaked Objects in Java']Java Programs

被引:0
|
作者
Yu, Qiao [1 ]
Jiang, Shujuan [1 ]
Liu, Yingqi [1 ]
机构
[1] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Peoples R China
来源
基金
中国国家自然科学基金;
关键词
memory leak; heap information; leaked objects; memory leaking confidence; GARBAGE COLLECTION;
D O I
10.1587/transinf.2014EDP7320
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Memory leak occurs when useless objects cannot be released for a long time during program execution. Memory leaked objects may cause memory overflow, system performance degradation and even cause the system to crash when they become serious. This paper presents a dynamic approach for detecting and measuring memory leaked objects in Java programs. First, our approach tracks the program by JDI and records heap information to find out the potentially leaked objects. Second, we present memory leaking confidence to measure the influence of these objects on the program. Finally, we select three open-source programs to evaluate the efficiency of our approach. Furthermore, we choose ten programs from DaCapo 9.12 benchmark suite to reveal the time overhead of our approach. The experimental results show that our approach is able to detect and measure memory leaked objects efficiently.
引用
收藏
页码:1053 / 1061
页数:9
相关论文
共 50 条
  • [1] Automatic Detection of Shared Objects in Multithreaded Java']Java Programs
    Tolubaeva, Munara
    Can, Aysu Betin
    [J]. 2008 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING CONTROL & AUTOMATION, VOLS 1 AND 2, 2008, : 522 - 526
  • [2] Executing Java']Java programs with transactional memory
    Carlstrom, Brian D.
    Chung, JaeWoong
    Chafi, Hassan
    McDonald, Austen
    Minh, Chi Cao
    Hammond, Lance
    Kozyrakis, Christos
    Olukotun, Kunle
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2006, 63 (02) : 111 - 129
  • [3] Error Detection in Concurrent Java']Java Programs
    Hughes, Graham
    Rajan, Sreeranga P.
    Sidle, Tom
    Swenson, Keith
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 144 (03) : 45 - 58
  • [4] TRaDe, a topological approach to on-the-fly race detection in Java']Java programs
    Christiaens, M
    De Bosschere, K
    [J]. USENIX ASSOCIATION PROCEEDINGS JAVA(TM) VIRTUAL MACHINE RESEARCH AND TECHNOLOGY SYMPOSIUM, 2001, : 105 - 116
  • [5] Dynamic memory allocation Behavior in Java']Java programs
    Li, RCL
    Fong, AS
    Chun, HW
    Tam, CH
    [J]. COMPUTERS AND THEIR APPLICATIONS, 2001, : 362 - 365
  • [6] Estimating internal memory fragmentation for Java']Java programs
    Skotiniotis, T
    Chang, JEM
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2002, 64 (03) : 235 - 246
  • [7] A high performance buffering of Java']Java objects for Java']Java card systems with flash memory
    Jin, Min-Sik
    Jung, Min-Soo
    [J]. EMERGING DIRECTIONS IN EMBEDDED AND UBIQUITOUS COMPUTING, 2006, 4097 : 908 - 918
  • [8] Dataflow approach to testing Java']Java programs
    Bluemke, Ilona
    Rembiszewski, Artur
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON DEPENDABILITY OF COMPUTER SYSTEMS, 2009, : 69 - 76
  • [9] Function point measurement from Java']Java programs
    Kusumoto, S
    Imagawa, M
    Inoue, K
    Morimoto, S
    Matsusita, K
    Tsuda, M
    [J]. ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2002, : 576 - 582
  • [10] new Scala() instanceof Java']Java A Comparison of the Memory Behaviour of Java']Java and Scala Programs
    Sewe, Andreas
    Mezini, Mira
    Sarimbekov, Aibek
    Ansaloni, Danilo
    Binder, Walter
    Ricci, Nathan
    Guyer, Samuel Z.
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (11) : 97 - 108