| Online-Ressource |
Verfasst von: | Ghanavati, Mohammadreza [VerfasserIn]  |
| Damesceno Costa, Diego Elias [VerfasserIn]  |
| Seboek, Janos [VerfasserIn]  |
| Lo, David [VerfasserIn]  |
| Andrzejak, Artur [VerfasserIn]  |
Titel: | Memory and resource leak defects and their repairs in Java projects |
Verf.angabe: | Mohammadreza Ghanavati, Diego Costa, Janos Seboek, David Lo, Artur Andrzejak |
Jahr: | 2020 |
Jahr des Originals: | 2019 |
Umfang: | 41 S. |
Fussnoten: | Published online: 26 July 2019 ; Gesehen am 27.03.2020 |
Titel Quelle: | Enthalten in: Empirical software engineering |
Ort Quelle: | Dordrecht [u.a.] : Springer Science + Business Media B.V, 1996 |
Jahr Quelle: | 2020 |
Band/Heft Quelle: | 25(2020), 1, Seite 678-718 |
ISSN Quelle: | 1573-7616 |
Abstract: | Despite huge software engineering efforts and programming language support, resource and memory leaks are still a troublesome issue, even in memory-managed languages such as Java. Understanding the properties of leak-inducing defects, how the leaks manifest, and how they are repaired is an essential prerequisite for designing better approaches for avoidance, diagnosis, and repair of leak-related bugs. We conduct a detailed empirical study on 491 issues from 15 large open-source Java projects. The study proposes taxonomies for the leak types, for the defects causing them, and for the repair actions. We investigate, under several aspects, the distributions within each taxonomy and the relationships between them. We find that manual code inspection and manual runtime detection are still the main methods for leak detection. We find that most of the errors manifest on error-free execution paths, and developers repair the leak defects in a shorter time than non-leak defects. We also identify 13 recurring code transformations in the repair patches. Based on our findings, we draw a variety of implications on how developers can avoid, detect, isolate and repair leak-related bugs. |
DOI: | doi:10.1007/s10664-019-09731-8 |
URL: | Bitte beachten Sie: Dies ist ein Bibliographieeintrag. Ein Volltextzugriff für Mitglieder der Universität besteht hier nur, falls für die entsprechende Zeitschrift/den entsprechenden Sammelband ein Abonnement besteht oder es sich um einen OpenAccess-Titel handelt.
Volltext: https://doi.org/10.1007/s10664-019-09731-8 |
| DOI: https://doi.org/10.1007/s10664-019-09731-8 |
Datenträger: | Online-Ressource |
Sprache: | eng |
K10plus-PPN: | 1693428237 |
Verknüpfungen: | → Zeitschrift |
Memory and resource leak defects and their repairs in Java projects / Ghanavati, Mohammadreza [VerfasserIn]; 2020 (Online-Ressource)