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 条
  • [21] Java']Java memory allocation with lazy worst fit for small objects
    Choi, HK
    Chung, YC
    Moon, SM
    [J]. COMPUTER JOURNAL, 2005, 48 (04): : 437 - 442
  • [22] Code Smell Detection Tool for Java']Java Script Programs
    Almashfi, Nabil
    Lu, Lunjin
    [J]. 2020 5TH INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION SYSTEMS (ICCCS 2020), 2020, : 172 - 176
  • [23] Plagiarism Detection for Java']Java Programs without Source Codes
    Anjali, V
    Swapna, T. R.
    Jayaraman, Bharat
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGIES, ICICT 2014, 2015, 46 : 749 - 758
  • [24] Modeling Time in Java']Java Programs for Automatic Error Detection
    Liva, Giovanni
    Khan, Muhammad Taimoor
    Spegni, Francesco
    Spalazzi, Luca
    Bollin, Andreas
    Pinzger, Martin
    [J]. 2018 ACM/IEEE CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2018), 2018, : 50 - 59
  • [25] OJXPerf: Featherlight Object Replica Detection for Java']Java Programs
    Li, Bolun
    Xu, Hao
    Zhao, Qidong
    Su, Pengfei
    Chabbi, Milind
    Jiao, Shuyin
    Liu, Xu
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1558 - 1570
  • [26] Comparing Metaheuristic Algorithms for Error Detection in Java']Java Programs
    Chicano, Francisco
    Ferreira, Marco
    Alba, Enrique
    [J]. SEARCH BASED SOFTWARE ENGINEERING, 2011, 6956 : 82 - +
  • [27] Object co-location and memory reuse for Java']Java programs
    Yu, Zoe C. H.
    Lau, Francis C. M.
    Wang, Cho-Li
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2007, 4 (04) : 1 - 36
  • [28] Mobile Java']Java objects
    Hayton, RJ
    Bursell, MH
    Donaldson, DI
    Herbert, AJ
    [J]. MIDDLEWARE'98: IFIP INTERNATIONAL CONFERENCE ON DISTRIBUTED SYSTEMS PLATFORMS AND OPEN DISTRIBUTED PROCESSING, 1998, : 323 - 338
  • [29] A Comprehensive Approach to Naming and Accessibility in Refactoring Java']Java Programs
    Schaefer, Max
    Thies, Andreas
    Steimann, Friedrich
    Tip, Frank
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (06) : 1233 - 1257
  • [30] A JPSL Based Model Checking Approach for Java']Java Programs
    Shu, XinFeng
    Li, YanLin
    Gao, WeiRan
    [J]. STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD, SOFL+MSVL 2022, 2023, 13854 : 30 - 49