{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T06:21:19Z","timestamp":1784182879979,"version":"3.55.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"6","license":[{"start":{"date-parts":[[2005,11,1]],"date-time":"2005-11-01T00:00:00Z","timestamp":1130803200000},"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":[[2005,11]]},"abstract":"<jats:p>The Java RMI collector is arguably the most widely used distributed garbage collector. Its distributed reference listing algorithm was introduced by Birrell et al. in the context of Network Objects, where the description was informal and heavily biased toward implementation. In this article, we formalize this algorithm in an implementation-independent manner, which allows us to clarify weaknesses of the initial presentation. In particular, we discover cases critical to the correctness of the algorithm that were not accounted for by Birrell. We use our formalization to derive an invariant-based proof of correctness of the algorithm that avoids notoriously difficult temporal reasoning. Furthermore, we offer a novel graphical representation of the state transition diagram, which we use to provide intuitive explanations of the algorithm and to investigate its tolerance to faults in a systematic manner. Finally, we examine how the algorithm may be optimized, either by placing constraints on message channels or by tightening the coupling between the application program and distributed garbage collector.<\/jats:p>","DOI":"10.1145\/1108970.1108976","type":"journal-article","created":{"date-parts":[[2006,2,6]],"date-time":"2006-02-06T15:07:09Z","timestamp":1139238429000},"page":"1344-1395","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":7,"title":["Birrell's distributed reference listing revisited"],"prefix":"10.1145","volume":"27","author":[{"given":"Luc","family":"Moreau","sequence":"first","affiliation":[{"name":"University of Southampton, Southampton, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peter","family":"Dickman","sequence":"additional","affiliation":[{"name":"University of Glasgow, Glasgow, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Richard","family":"Jones","sequence":"additional","affiliation":[{"name":"University of Kent, Kent, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2005,11]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/292469.292471"},{"key":"e_1_2_1_2_1","unstructured":"Barras B. Boutin S. Cornes C. Courant J. Filliatre J. Gim\u00e9nez E. Herbelin H. Huet G. Mu\u00f1oz C. Murthy C. Parent C. Paulin C. Sa\u00efbi A. and Werner B. 1997. The Coq proof assistant reference manual---version V6.1. Tech. rep. 0203. INRIA Rocquencon France.  Barras B. Boutin S. Cornes C. Courant J. Filliatre J. Gim\u00e9nez E. Herbelin H. Huet G. Mu\u00f1oz C. Murthy C. Parent C. Paulin C. Sa\u00efbi A. and Werner B. 1997. The Coq proof assistant reference manual---version V6.1. Tech. rep. 0203. INRIA Rocquencon France."},{"key":"e_1_2_1_3_1","volume-title":"Automata, Languages and Programming. Ninth Colloquium, (Aarhus, Denmark)","author":"Ben-Ari M.","unstructured":"Ben-Ari , M. 1982. On-the-fly garbage collection: New algorithms inspired by program proofs . In Automata, Languages and Programming. Ninth Colloquium, (Aarhus, Denmark) , M. Nielsen and E. M. Schmidt, Eds. Springer-Verlag, Berlin , Germany , 14--22. Ben-Ari, M. 1982. On-the-fly garbage collection: New algorithms inspired by program proofs. In Automata, Languages and Programming. Ninth Colloquium, (Aarhus, Denmark), M. Nielsen and E. M. Schmidt, Eds. Springer-Verlag, Berlin, Germany, 14--22."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/579.587"},{"key":"e_1_2_1_5_1","doi-asserted-by":"crossref","unstructured":"Bevan D. I. 1987. Distributed garbage collection using reference counting. See de Bakker et al. {1987} 176--187.  Bevan D. I. 1987. Distributed garbage collection using reference counting. See de Bakker et al. {1987} 176--187.","DOI":"10.1007\/3-540-17945-3_10"},{"key":"e_1_2_1_6_1","doi-asserted-by":"crossref","unstructured":"Birrell A. Evers D. Nelson G. Owicki S. and Wobber E. 1993. Distributed garbage collection for Network Objects. Tech. rep. 116. Digital Systems Research Center Palo Alto CA.  Birrell A. Evers D. Nelson G. Owicki S. and Wobber E. 1993. Distributed garbage collection for Network Objects. Tech. rep. 116. Digital Systems Research Center Palo Alto CA.","DOI":"10.1145\/168619.168637"},{"key":"e_1_2_1_7_1","doi-asserted-by":"crossref","unstructured":"Birrell A. Nelson G. Owicki S. and Wobber E. 1994a. Network Objects. Tech. rep. 115. Digital Systems Research Center Palo Alto CA.  Birrell A. Nelson G. Owicki S. and Wobber E. 1994a. Network Objects. Tech. rep. 115. Digital Systems Research Center Palo Alto CA.","DOI":"10.1145\/168619.168637"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/168619.168637"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380251305"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/367487.367501"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications (Miami Beach). IEEE Press","author":"Corp","unstructured":"Corp oraal, H., Veldman , T. , and van de Goor, A. J. 1990. Efficient, reference weight-based garbage collection method for distributed systems . In Proceedings of PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications (Miami Beach). IEEE Press , Los Alamitos, CA, 463--465. Corporaal, H., Veldman, T., and van de Goor, A. J. 1990. Efficient, reference weight-based garbage collection method for distributed systems. In Proceedings of PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications (Miami Beach). IEEE Press, Los Alamitos, CA, 463--465."},{"key":"e_1_2_1_12_1","volume-title":"Eds","author":"de Bakker J. W.","year":"1987","unstructured":"de Bakker , J. W. , Nijman , L. , and Treleaven , P. C. , Eds . 1987 . PARLE'87 Parallel Architectures and Languages Europe (Eindhoven, The Netherlands). Lecture Notes in Computer Science, vol. 258\/259 . Springer-Verlag , Berlin, Germany. de Bakker, J. W., Nijman, L., and Treleaven, P. C., Eds. 1987. PARLE'87 Parallel Architectures and Languages Europe (Eindhoven, The Netherlands). Lecture Notes in Computer Science, vol. 258\/259. Springer-Verlag, Berlin, Germany."},{"key":"e_1_2_1_13_1","unstructured":"Dickman P. 1992. Optimising weighted reference counts for scalable fault-tolerant distributed object-support systems. Unpublished note.  Dickman P. 1992. Optimising weighted reference counts for scalable fault-tolerant distributed object-support systems. Unpublished note."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/362422.362485"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/359642.359655"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/174675.174673"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01407898"},{"key":"e_1_2_1_18_1","first-page":"5","article-title":"An application of a method for analysis of cyclic programs","volume":"4","author":"Francez N.","year":"1978","unstructured":"Francez , N. 1978 . An application of a method for analysis of cyclic programs . ACM Trans. Softw. Eng. 4 , 5 (Sept.), 371--377. Francez, N. 1978. An application of a method for analysis of cyclic programs. ACM Trans. Softw. Eng. 4, 5 (Sept.), 371--377.","journal-title":"ACM Trans. Softw. Eng."},{"key":"e_1_2_1_19_1","unstructured":"Goguen H. Brooksby R. and Burstall R. 1998. An abstract formulation of memory management. Available online from http:\/\/www.dcs.ed.ac.uk\/~hhg\/.  Goguen H. Brooksby R. and Burstall R. 1998. An abstract formulation of memory management. Available online from http:\/\/www.dcs.ed.ac.uk\/~hhg\/."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.5555\/647765.735844"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/359897.359903"},{"key":"e_1_2_1_22_1","unstructured":"Havelund K. and Shankar N. 1997. A mechanized refinement proof for a garbage collector. Available online from http:\/\/www.cs.auc.dk\/~havelund\/.  Havelund K. and Shankar N. 1997. A mechanized refinement proof for a garbage collector. Available online from http:\/\/www.cs.auc.dk\/~havelund\/."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/586088.586089"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.5555\/646525.694869"},{"key":"e_1_2_1_25_1","volume-title":"Garbage Collection: Algorithms for Automatic Dynamic Memory Management","author":"Jones R. E.","year":"1996","unstructured":"Jones , R. E. 1996 . Garbage Collection: Algorithms for Automatic Dynamic Memory Management . Wiley , Chichester, U.K. With a chapter on Distributed Garbage Collection by R. Lins. Jones, R. E. 1996. Garbage Collection: Algorithms for Automatic Dynamic Memory Management. Wiley, Chichester, U.K. With a chapter on Distributed Garbage Collection by R. Lins."},{"key":"e_1_2_1_26_1","volume-title":"PARLE'93 Parallel Architectures and Languages Europe, A. Bode, M. Reeve, and G. Wolf, Eds. Lecture Notes in Computer Science","volume":"694","author":"Jones R. E.","unstructured":"Jones , R. E. and Lins , R. D . 1993. Cyclic weighted reference counting without delay . In PARLE'93 Parallel Architectures and Languages Europe, A. Bode, M. Reeve, and G. Wolf, Eds. Lecture Notes in Computer Science , vol. 694 . Springer-Verlag, Munich, Germany, 712--515. Jones, R. E. and Lins, R. D. 1993. Cyclic weighted reference counting without delay. In PARLE'93 Parallel Architectures and Languages Europe, A. Bode, M. Reeve, and G. Wolf, Eds. Lecture Notes in Computer Science, vol. 694. Springer-Verlag, Munich, Germany, 712--515."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/35037.42182"},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the IEEE Symposium on Foundations of Computer Science. IEEE Press","author":"Kung H. T.","unstructured":"Kung , H. T. and Song , S. W . 1977. An efficient parallel garbage collection system and its correctness proof . In Proceedings of the IEEE Symposium on Foundations of Computer Science. IEEE Press , Los Alamitos, CA, 120--131. Kung, H. T. and Song, S. W. 1977. An efficient parallel garbage collection system and its correctness proof. In Proceedings of the IEEE Symposium on Foundations of Computer Science. IEEE Press, Los Alamitos, CA, 120--131."},{"key":"e_1_2_1_29_1","volume-title":"The temporal logic of actions. Research rep. 79","author":"Lamport L.","unstructured":"Lamport , L. 1991. The temporal logic of actions. Research rep. 79 . DEC Systems Research Center , Palo Alto, CA . Lamport, L. 1991. The temporal logic of actions. Research rep. 79. DEC Systems Research Center, Palo Alto, CA."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/143165.143176"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/277650.277715"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/319838.319875"},{"key":"e_1_2_1_33_1","volume-title":"Procedings of WP & DP'93 Workshop on Parallel and Distributed Processing","author":"Lins R. D.","year":"1991","unstructured":"Lins , R. D. and Jones , R. E . 1993. Cyclic weighted reference counting . In Procedings of WP & DP'93 Workshop on Parallel and Distributed Processing ( Sofia, Bulgaria), K. Boyanov, Ed. North Holland, Amsterdam, The Netherlands, 369--382. Also published in 1991 under the same title as Computing Laboratory Tech. rep. 95, University of Kent, U.K. Lins, R. D. and Jones, R. E. 1993. Cyclic weighted reference counting. In Procedings of WP & DP'93 Workshop on Parallel and Distributed Processing (Sofia, Bulgaria), K. Boyanov, Ed. North Holland, Amsterdam, The Netherlands, 369--382. Also published in 1991 under the same title as Computing Laboratory Tech. rep. 95, University of Kent, U.K."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/259380.259444"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/34.6.503"},{"key":"e_1_2_1_36_1","doi-asserted-by":"crossref","unstructured":"Manna Z. and Pnuelli M. 1991. Temporal Logic or Reactive and Concurrent Systems: Specification. Springer Berlin Germany.   Manna Z. and Pnuelli M. 1991. Temporal Logic or Reactive and Concurrent Systems: Specification. Springer Berlin Germany.","DOI":"10.1007\/978-1-4612-0931-7"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6423(00)00011-3"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1014455931537"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/508791.508810"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/PL00013315"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/357172.357178"},{"key":"e_1_2_1_43_1","series-title":"Lecture Notes in Computer Science","volume-title":"PARLE'91 Parallel Architectures and Languages Europe (Eindhoven, The Netherlands), E. H. L. Aarts et al., Eds","author":"Piquer J. M.","unstructured":"Piquer , J. M. 1991. Indirect reference counting: A distributed garbage collection algorithm . In PARLE'91 Parallel Architectures and Languages Europe (Eindhoven, The Netherlands), E. H. L. Aarts et al., Eds . Lecture Notes in Computer Science , vol. 505 . Springer-Verlag, Berlin , Germany . Piquer, J. M. 1991. Indirect reference counting: A distributed garbage collection algorithm. In PARLE'91 Parallel Architectures and Languages Europe (Eindhoven, The Netherlands), E. H. L. Aarts et al., Eds. Lecture Notes in Computer Science, vol. 505. Springer-Verlag, Berlin, Germany."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01788566"},{"key":"e_1_2_1_45_1","volume-title":"Proceedings of the International Workshop on Memory Management, H. Baker, Ed. Lecture Notes in Computer Science","volume":"986","author":"Plainfoss\u00e9 D.","unstructured":"Plainfoss\u00e9 , D. and Shapiro , M . 1995. A survey of distributed garbage collection techniques . In Proceedings of the International Workshop on Memory Management, H. Baker, Ed. Lecture Notes in Computer Science , vol. 986 . Springer-Verlag, Berlin, Germany. Plainfoss\u00e9, D. and Shapiro, M. 1995. A survey of distributed garbage collection techniques. In Proceedings of the International Workshop on Memory Management, H. Baker, Ed. Lecture Notes in Computer Science, vol. 986. Springer-Verlag, Berlin, Germany."},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(83)90039-X"},{"key":"e_1_2_1_47_1","volume-title":"Tenth International Workshop on Distributed Algorithms, WDAG'96","volume":"1151","author":"Rodrigues H. C. C. D.","unstructured":"Rodrigues , H. C. C. D. and Jones , R. E . 1996. A cyclic distributed garbage collector for network objects . In Tenth International Workshop on Distributed Algorithms, WDAG'96 ( Bologna, Italy), O. Babaoglu and K. Marzullo, Eds. Lecture Notes in Computer Science , vol. 1151 . Springer-Verlag, Berlin, Germany, 123--140. Rodrigues, H. C. C. D. and Jones, R. E. 1996. A cyclic distributed garbage collector for network objects. In Tenth International Workshop on Distributed Algorithms, WDAG'96 (Bologna, Italy), O. Babaoglu and K. Marzullo, Eds. Lecture Notes in Computer Science, vol. 1151. Springer-Verlag, Berlin, Germany, 123--140."},{"key":"e_1_2_1_48_1","volume-title":"Proceedings of 12th European Conference on Object-Oriented Programming, ECOOP98","volume":"1445","author":"Rodrigues H. C. C. D.","unstructured":"Rodrigues , H. C. C. D. and Jones , R. E . 1998. Cyclic distributed garbage collection with group merger . In Proceedings of 12th European Conference on Object-Oriented Programming, ECOOP98 ( Brussels, Belgium), E. Jul, Ed. Lecture Notes in Computer Science , vol. 1445 . Springer-Verlag, Berlin, Germany, 249--273. Rodrigues, H. C. C. D. and Jones, R. E. 1998. Cyclic distributed garbage collection with group merger. In Proceedings of 12th European Conference on Object-Oriented Programming, ECOOP98 (Brussels, Belgium), E. Jul, Ed. Lecture Notes in Computer Science, vol. 1445. Springer-Verlag, Berlin, Germany, 249--273."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/232627.232633"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01211305"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/773039.512437"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/135419.135448"},{"key":"e_1_2_1_53_1","doi-asserted-by":"crossref","unstructured":"Shapiro M. Dickman P. and Plainfoss\u00e9 D. 1992b. SSP chains: Robust distributed references supporting acyclic garbage collection. Rapport de Recherche 1799. INRIA-Rocquencourt France.  Shapiro M. Dickman P. and Plainfoss\u00e9 D. 1992b. SSP chains: Robust distributed references supporting acyclic garbage collection. Rapport de Recherche 1799. INRIA-Rocquencourt France.","DOI":"10.1145\/135419.135448"},{"key":"e_1_2_1_54_1","unstructured":"Shapiro M. Gruber O. and Plainfoss\u00e9 D. 1990. A garbage detection protocol for a realistic distributed object-support system. Rapport de Recherche 1320. Inria-Rocquencourt Rocquencourt France.  Shapiro M. Gruber O. and Plainfoss\u00e9 D. 1990. A garbage detection protocol for a realistic distributed object-support system. Rapport de Recherche 1320. Inria-Rocquencourt Rocquencourt France."},{"key":"e_1_2_1_55_1","unstructured":"Stenning V. 1976. On-the-fly garbage collection. Unpublished notes cited by Gries {1977}.  Stenning V. 1976. On-the-fly garbage collection. Unpublished notes cited by Gries {1977}."},{"key":"e_1_2_1_56_1","unstructured":"Sun Microsystems. 1996. Java Remote Method Invocation Specification. Sun Microsystems. Available at http:\/\/java.sun.com\/products\/jdk\/rmi\/.  Sun Microsystems. 1996. Java Remote Method Invocation Specification. Sun Microsystems. Available at http:\/\/java.sun.com\/products\/jdk\/rmi\/."},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/151646.151647"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(87)90135-9"},{"key":"e_1_2_1_59_1","doi-asserted-by":"crossref","unstructured":"Watson P. and Watson I. 1987. An efficient garbage collection scheme for parallel computer architectures. See de Bakker et al. {1987} 432--443.   Watson P. and Watson I. 1987. An efficient garbage collection scheme for parallel computer architectures. See de Bakker et al. {1987} 432--443.","DOI":"10.1007\/3-540-17945-3_25"}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1108970.1108976","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1108970.1108976","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T16:07:50Z","timestamp":1750262870000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1108970.1108976"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2005,11]]},"references-count":58,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2005,11]]}},"alternative-id":["10.1145\/1108970.1108976"],"URL":"https:\/\/doi.org\/10.1145\/1108970.1108976","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2005,11]]},"assertion":[{"value":"2005-11-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}