{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,18]],"date-time":"2025-11-18T12:09:14Z","timestamp":1763467754656,"version":"3.41.0"},"reference-count":38,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2006,5,1]],"date-time":"2006-05-01T00:00:00Z","timestamp":1146441600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2006,5]]},"abstract":"<jats:p>\n            Programmers 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\n            <jats:italic>brute-force<\/jats:italic>\n            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\n            <jats:italic>granulated<\/jats:italic>\n            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\n            <jats:italic>Merlin<\/jats:italic>\n            for computing object lifetimes. Merlin timestamps 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.\n          <\/jats:p>","DOI":"10.1145\/1133651.1133654","type":"journal-article","created":{"date-parts":[[2006,7,25]],"date-time":"2006-07-25T14:14:26Z","timestamp":1153836866000},"page":"476-516","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":47,"title":["Generating object lifetime traces with Merlin"],"prefix":"10.1145","volume":"28","author":[{"given":"Matthew","family":"Hertz","sequence":"first","affiliation":[{"name":"University of Massachusetts, Amherst, Amherst, MA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Stephen M.","family":"Blackburn","sequence":"additional","affiliation":[{"name":"Australian National University, Canberra, ACT, Australia"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"J. Eliot B.","family":"Moss","sequence":"additional","affiliation":[{"name":"University of Massachusetts, Amherst, Amherst, MA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kathryn S.","family":"McKinley","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, TX"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Darko","family":"Stefanovi\u0107","sequence":"additional","affiliation":[{"name":"University of New Mexico, Albuquerque, NM"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2006,5]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1147\/sj.391.0211"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/320384.320418"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380190206"},{"volume":"2072","volume-title":"Proceedings of the 15th European Conference on Object-Oriented Programming, ECOOP 2001, J. L. Knudsen, Ed. Lecture Notes in Computer Science","author":"Bacon D. F.","key":"e_1_2_1_4_1"},{"volume-title":"Proceedings of the ACM SIGMETRICS Conference on Measurement & Modeling Computer Systems. 25--36","year":"2004","author":"Blackburn S. M.","key":"e_1_2_1_5_1"},{"volume-title":"Proceedings of the 26th International Conference on Software Engineering. 137--146","year":"2004","author":"Blackburn S. M.","key":"e_1_2_1_6_1"},{"volume-title":"Proceedings of the SIGPLAN 2002 Conference on Programming Language Design and Implementation","author":"Blackburn S. M.","key":"e_1_2_1_7_1"},{"volume-title":"Proceedings of the ACM Conference on Object-Oriented Programming, Systems, Languages, & Applications (OOPSLA","year":"2003","author":"Blackburn S. M.","key":"e_1_2_1_8_1"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/504282.504307"},{"volume-title":"Proceedings of the 2001 International Conference on Parallel Architectures and Compilation Techniques (PACT","year":"2001","author":"Cahoon B.","key":"e_1_2_1_10_1"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/277650.277718"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/367487.367501"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/360336.360345"},{"key":"e_1_2_1_14_1","unstructured":"Hertz M. and Berger E. D. 2004. Automatic vs. explicit memory management: Settling the performance debate. Tech. rep. TR-04-17. University of Massachusetts Amherst Amherst MA.  Hertz M. and Berger E. D. 2004. Automatic vs. explicit memory management: Settling the performance debate. Tech. rep. TR-04-17. University of Massachusetts Amherst Amherst MA."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/511334.511352"},{"key":"e_1_2_1_16_1","unstructured":"Hertz M. Immerman N. and Moss J. E. B. 2002b. Framework for analyzing garbage collection. In Foundations of Information Technology in the Era of Network and Mobile Computing: IFIP 17th World Computer Congress---TC1 Stream (TCS 2002) R. Baeza-Yates U. Montanari and N. Santoro Eds. IFIP Conference Proceedings vol. 223. Kluwer Norwell MA 230--241.   Hertz M. Immerman N. and Moss J. E. B. 2002b. Framework for analyzing garbage collection. In Foundations of Information Technology in the Era of Network and Mobile Computing: IFIP 17th World Computer Congress---TC1 Stream (TCS 2002) R. Baeza-Yates U. Montanari and N. Santoro Eds. IFIP Conference Proceedings vol. 223. Kluwer Norwell MA 230--241."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/586088.586089"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/949305.949337"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/512429.512435"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/141936.141946"},{"volume-title":"Proceedings of the ACM Conference on Object-Oriented Programming, Systems, Languages, & Applications (OOPSLA","author":"Huang X.","key":"e_1_2_1_21_1"},{"key":"e_1_2_1_22_1","unstructured":"Jones R. and Lins R. 1996. Garbage collection: Algorithms for Automatic Dynamic Memory Management. Wiley New York NY.   Jones R. and Lins R. 1996. Garbage collection: Algorithms for Automatic Dynamic Memory Management. Wiley New York NY."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/358141.358147"},{"volume-title":"Experimental Statistics. US Department of Commerce","author":"Natrella M. G.","key":"e_1_2_1_24_1"},{"volume-title":"Proceedings of the International Conference on Functional Programming. 34--41","author":"Rojemo N.","key":"e_1_2_1_26_1"},{"volume-title":"Proceedings of the Implementation of Functional Languages Workshop","author":"Runciman C.","key":"e_1_2_1_27_1"},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Runciman C. and Wakeling D. 1992. Heap profiling of lazy functional programs. Tech. rep. 172. Department of Computer Science University of York Heslington York U.K.  Runciman C. and Wakeling D. 1992. Heap profiling of lazy functional programs. Tech. rep. 172. Department of Computer Science University of York Heslington York U.K.","DOI":"10.1007\/978-1-4471-3215-8_18"},{"key":"e_1_2_1_30_1","unstructured":"Sansom P. M. and Jones S. L. P. 1994. Time and space profiling for non-strict higher-order functional languages. Tech. rep. FP-1994-10. Department of Computing Science University of Glasgow Glasgow Scotland.  Sansom P. M. and Jones S. L. P. 1994. Time and space profiling for non-strict higher-order functional languages. Tech. rep. FP-1994-10. Department of Computing Science University of Glasgow Glasgow Scotland."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/362422.362430"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/512429.512437"},{"key":"e_1_2_1_33_1","unstructured":"SPECjvm98. 1998. Standard Performance Evaluation Corporation (SPEC). Available online at http:\/\/www.spec.org\/osg\/jvm98.  SPECjvm98. 1998. Standard Performance Evaluation Corporation (SPEC). Available online at http:\/\/www.spec.org\/osg\/jvm98."},{"volume-title":"MSP 2002 Proceedings of the ACM SIGPLAN Workshop on Memory System Performance. ACM SIGPLAN Not. 38","author":"Stefanovi\u0107 D.","key":"e_1_2_1_35_1"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/320384.320425"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/362422.362477"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/800020.808261"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/111186.116734"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/366862.366897"},{"key":"e_1_2_1_42_1","unstructured":"Zorn B. and Grunwald D. 1992. Evaluating models of memory allocation. Tech. rep. CU-CS-603-92. University of Colorado at Boulder Boulder CO.  Zorn B. and Grunwald D. 1992. Evaluating models of memory allocation. Tech. rep. CU-CS-603-92. University of Colorado at Boulder Boulder CO."}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1133651.1133654","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1133651.1133654","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T20:22:17Z","timestamp":1750278137000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1133651.1133654"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2006,5]]},"references-count":38,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2006,5]]}},"alternative-id":["10.1145\/1133651.1133654"],"URL":"https:\/\/doi.org\/10.1145\/1133651.1133654","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"type":"print","value":"0164-0925"},{"type":"electronic","value":"1558-4593"}],"subject":[],"published":{"date-parts":[[2006,5]]},"assertion":[{"value":"2006-05-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}