检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:于巧[1] 姜淑娟[1] 王兴亚[1] 鞠小林[1,2] 董庆杰
机构地区:[1]中国矿业大学计算机科学与技术学院,江苏徐州221116 [2]南通大学计算机科学与技术学院,江苏南通226019 [3]南水北调东线山东干线有限责任公司,济南250013
出 处:《计算机科学与探索》2014年第8期978-988,共11页Journal of Frontiers of Computer Science and Technology
基 金:国家自然科学基金No.60970032;江苏省333工程;江苏省青蓝工程~~
摘 要:程序运行过程中一些不再被使用的对象未及时释放会引发内存泄漏问题,泄漏对象经过长期累积会降低系统性能,甚至导致系统崩溃。针对Java程序中的内存泄漏问题,提出了一种内存泄漏对象检测与度量方法。通过动态跟踪源程序的执行过程,周期性记录堆栈信息,并分析堆中可疑的泄漏对象。定义内存泄漏度计算方法,度量不同对象对程序泄漏的影响程度,从而确定产生泄漏的对象。最后选取两个开源程序进行验证,并与两种现有方法进行对比,结果表明该方法的泄漏检测率较高。Memory leaks occur when objects that are no longer used cannot be released promptly during the execution of programs. After long-term accumulation, leaking objects will reduce system performance and cause the system to crash when they become serious. To solve memory leaks in Java programs, this paper proposes a detection and measurement method of memory leaking objects. Firstly, through tracing the execution of source programs dynamically, this method records stack information periodically and analyzes the suspicious leaking objects in heap. Then it defines a formula for calculating memory leaking confidence, which can measure the influence of different objects on program leaks, thereby confirming the leaked objects. Finally, this paper chooses two open-source programs for verification, and compared with two existing methods, the results show that the proposed method gets higher leak detection rate.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30