On the usefulness of liveness for garbage collection and leak detection

dc.contributor.authorHirzel, Martinen
dc.contributor.authorDiwan, Ameren
dc.contributor.authorHosking, Antonyen
dc.date.accessioned2026-01-01T10:42:31Z
dc.date.available2026-01-01T10:42:31Z
dc.date.issued2001en
dc.description.abstractThe 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.en
dc.description.statusPeer-revieweden
dc.format.extent26en
dc.identifier.isbn3540422064en
dc.identifier.isbn9783540422068en
dc.identifier.issn0302-9743en
dc.identifier.otherORCID:/0000-0002-4487-6923/work/164436689en
dc.identifier.scopus84881380766en
dc.identifier.urihttps://hdl.handle.net/1885/733799925
dc.language.isoenen
dc.publisherSpringer Verlagen
dc.relation.ispartofECOOP 2001 - Object-Oriented Programming: 15th European Conference, Proceedingsen
dc.relation.ispartofseries15th European Conference on Object-Oriented Programming, ECOOP 2001en
dc.relation.ispartofseriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)en
dc.titleOn the usefulness of liveness for garbage collection and leak detectionen
dc.typeConference paperen
dspace.entity.typePublicationen
local.bibliographicCitation.lastpage206en
local.bibliographicCitation.startpage181en
local.contributor.affiliationHirzel, Martin; University of Colorado Boulderen
local.contributor.affiliationDiwan, Amer; University of Colorado Boulderen
local.contributor.affiliationHosking, Antony; Purdue Universityen
local.identifier.doi10.1007/3-540-45337-7_11en
local.identifier.essn1611-3349en
local.identifier.pure3c080c3b-e3f2-4738-82c2-8aaf19b7cf78en
local.identifier.urlhttps://www.scopus.com/pages/publications/84881380766en
local.type.statusPublisheden

Downloads