{"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}
引用次数: 0
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.