On the usefulness of liveness for garbage collection and leak detection

Martin Hirzel, Amer Diwan, Antony Hosking

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

10 Citations (Scopus)

Abstract

The effectiveness of garbage collectors and leak detectors in identifying dead objects depends on the "accuracy" of their reachability traversal. Accuracy has two orthogonal dimensions: (i) whether the reachability traversal can distinguish between pointers and non-pointers (type accuracy), and (ii) whether the reachability traversal can identify memory locations that will be dereferenced in the future (liveness accuracy). While prior work has investigated the importance of type accuracy, there has been little work investigating the importance of liveness accuracy for garbage collection or leak detection. This paper presents an experimental study of the importance of liveness on the accuracy of the reachability traversal. We show that while liveness can significantly improve the effectiveness of a garbage collector or leak detector, the simpler liveness schemes are largely ineffective. One must analyze globals using an interprocedural analysis to get significant benefit.

Original languageEnglish
Title of host publicationECOOP 2001 - Object-Oriented Programming
Subtitle of host publication15th European Conference, Proceedings
EditorsJorgen Lindskov Knudsen
PublisherSpringer Verlag
Pages181-206
Number of pages26
ISBN (Print)3540422064, 9783540422068
DOIs
Publication statusPublished - 2001
Externally publishedYes
Event15th European Conference on Object-Oriented Programming, ECOOP 2001 - Budapest, Hungary
Duration: 18 Jun 200122 Jun 2001

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume2072 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference15th European Conference on Object-Oriented Programming, ECOOP 2001
Country/TerritoryHungary
CityBudapest
Period18/06/0122/06/01

Fingerprint

Dive into the research topics of 'On the usefulness of liveness for garbage collection and leak detection'. Together they form a unique fingerprint.

Cite this