Generating Object Lifetime Traces With Merlin

dc.contributor.authorHertz, Matthew
dc.contributor.authorBlackburn, Stephen
dc.contributor.authorMoss, J Eliot B
dc.contributor.authorMcKinley, Kathryn
dc.contributor.authorStefanovic, Darko
dc.date.accessioned2015-12-08T22:26:23Z
dc.date.issued2006
dc.date.updated2015-12-08T09:10:47Z
dc.description.abstractProgrammers are writing a rapidly growing number of programs in object-oriented languages, such as Java and C#, that require garbage collection. Garbage collection traces and simulation speed up research by enabling deeper understandings of object lifetime behavior and quick exploration and design of new garbage collection algorithms. When generating perfect traces, the brute-force method of computing object lifetimes requires a whole-heap garbage collection at every potential collection point in the program. Because this process is prohibitively expensive, researchers often use granulated traces by collecting only periodically, for example, every 32 KB of allocation. We extend the state of the art for simulating garbage collection algorithms in two ways. First, we develop a systematic methodology for simulation studies of copying garbage collection and present results showing the effects of trace granularity on these simulations. We show that trace granularity often distorts simulated garbage collection results compared with perfect traces. Second, we present and measure the performance of a new algorithm called Merlin for computing object lifetimes. Merlin timeatamps objects and later uses the timestamps of dead objects to reconstruct when they died. The Merlin algorithm piggybacks on garbage collections performed by the base system. Experimental results show that Merlin can generate traces over two orders of magnitude faster than the brute-force method which collects after every object allocation. We also use Merlin to produce visualizations of heap behavior that expose new object lifetime behaviors.
dc.identifier.issn0164-0925
dc.identifier.urihttp://hdl.handle.net/1885/33624
dc.publisherAssociation for Computing Machinery Inc (ACM)
dc.sourceACM Transactions on Programming Languages and Systems
dc.subjectKeywords: Garbage collection; Object lifetime analysis; Trace design; Trace generation; Algorithms; Computer simulation; Data mining; Object oriented programming; Object recognition; Resource allocation; Computer programming Garbage collection; Object lifetime analysis; Trace design; Trace generation
dc.titleGenerating Object Lifetime Traces With Merlin
dc.typeJournal article
local.bibliographicCitation.issue3
local.bibliographicCitation.lastpage516
local.bibliographicCitation.startpage476
local.contributor.affiliationHertz, Matthew, University of Massachusetts
local.contributor.affiliationBlackburn, Stephen, College of Engineering and Computer Science, ANU
local.contributor.affiliationMoss, J Eliot B, University of Massachusetts
local.contributor.affiliationMcKinley, Kathryn, University of Texas
local.contributor.affiliationStefanovic, Darko, University of New Mexico
local.contributor.authoremailu3789498@anu.edu.au
local.contributor.authoruidBlackburn, Stephen, u3789498
local.description.embargo2037-12-31
local.description.notesImported from ARIES
local.identifier.absfor080201 - Analysis of Algorithms and Complexity
local.identifier.absseo890203 - Computer Gaming Software
local.identifier.ariespublicationu4251866xPUB104
local.identifier.citationvolume28
local.identifier.doi10.1145/1133651.1133654
local.identifier.scopusID2-s2.0-33745341736
local.identifier.uidSubmittedByu4251866
local.type.statusPublished Version

Downloads

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
01_Hertz_Generating_Object_Lifetime_2006.pdf
Size:
1.25 MB
Format:
Adobe Portable Document Format