一个用于Java的分配监控和内存泄漏注入工具

M. Ghanavati, A. Andrzejak, Felix Langner
{"title":"一个用于Java的分配监控和内存泄漏注入工具","authors":"M. Ghanavati, A. Andrzejak, Felix Langner","doi":"10.1109/ISSREW.2019.00079","DOIUrl":null,"url":null,"abstract":"Memory leaks are one of the major causes of software aging. Despite of Garbage Collection, such leaks are also prevalent in Java applications. Consequently, a lot of sophisticated approaches for memory leak detection in Java have been proposed in the last two decades. Unfortunately, it is difficult to compare and evaluate them as it is challenging and cumbersome to find suitable datasets for evaluation purposes. A further handicap for effective research is a high effort of collecting certain types of statistics on memory usage which have proved to be effective for memory leak detection. In this paper we propose MemDefender, a tool for facilitating studies on automated memory leak detection in Java. Our tool serves two purposes: it can inject leaks into arbitrary Java applications in flexible ways, facilitating evaluation and comparison of new approaches. As a second function it provides statistics on number and size of allocated objects during application execution, also grouped by GC generations. These statistics can serve as building blocks for developing new leak detection techniques.","PeriodicalId":166239,"journal":{"name":"2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","volume":"100 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"MemDefender: An Allocation Monitoring and Memory Leak Injection Tool for Java\",\"authors\":\"M. Ghanavati, A. Andrzejak, Felix Langner\",\"doi\":\"10.1109/ISSREW.2019.00079\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Memory leaks are one of the major causes of software aging. Despite of Garbage Collection, such leaks are also prevalent in Java applications. Consequently, a lot of sophisticated approaches for memory leak detection in Java have been proposed in the last two decades. Unfortunately, it is difficult to compare and evaluate them as it is challenging and cumbersome to find suitable datasets for evaluation purposes. A further handicap for effective research is a high effort of collecting certain types of statistics on memory usage which have proved to be effective for memory leak detection. In this paper we propose MemDefender, a tool for facilitating studies on automated memory leak detection in Java. Our tool serves two purposes: it can inject leaks into arbitrary Java applications in flexible ways, facilitating evaluation and comparison of new approaches. As a second function it provides statistics on number and size of allocated objects during application execution, also grouped by GC generations. These statistics can serve as building blocks for developing new leak detection techniques.\",\"PeriodicalId\":166239,\"journal\":{\"name\":\"2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)\",\"volume\":\"100 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISSREW.2019.00079\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISSREW.2019.00079","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

内存泄漏是导致软件老化的主要原因之一。除了垃圾收集之外,这种泄漏在Java应用程序中也很普遍。因此,在过去的二十年中,已经提出了许多复杂的Java内存泄漏检测方法。不幸的是,很难比较和评估它们,因为寻找适合评估目的的数据集是具有挑战性和繁琐的。有效研究的另一个障碍是,需要花费大量精力收集某些类型的内存使用统计数据,这些统计数据已被证明对内存泄漏检测是有效的。在本文中,我们提出MemDefender,一个促进Java中自动内存泄漏检测研究的工具。我们的工具有两个目的:它可以以灵活的方式向任意Java应用程序注入漏洞,促进新方法的评估和比较。作为第二个函数,它提供应用程序执行期间分配对象的数量和大小的统计信息,也按GC代分组。这些统计数据可以作为开发新的泄漏检测技术的基石。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
MemDefender: An Allocation Monitoring and Memory Leak Injection Tool for Java
Memory leaks are one of the major causes of software aging. Despite of Garbage Collection, such leaks are also prevalent in Java applications. Consequently, a lot of sophisticated approaches for memory leak detection in Java have been proposed in the last two decades. Unfortunately, it is difficult to compare and evaluate them as it is challenging and cumbersome to find suitable datasets for evaluation purposes. A further handicap for effective research is a high effort of collecting certain types of statistics on memory usage which have proved to be effective for memory leak detection. In this paper we propose MemDefender, a tool for facilitating studies on automated memory leak detection in Java. Our tool serves two purposes: it can inject leaks into arbitrary Java applications in flexible ways, facilitating evaluation and comparison of new approaches. As a second function it provides statistics on number and size of allocated objects during application execution, also grouped by GC generations. These statistics can serve as building blocks for developing new leak detection techniques.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信