Atom garbage collection

  • Authors:
  • Thomas Lindgren

  • Affiliations:
  • Millpond Services Ltd

  • Venue:
  • Proceedings of the 2005 ACM SIGPLAN workshop on Erlang
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Atoms are a central data type in Erlang, yet there is currently no method for memory management of atoms in the most popular implementations. For long-lived systems, this leads to obscure bugs or defensive programming.In this paper, we discuss the relevant issues for atom garbage collection and propose some principles. We then devise an incremental copying collector with some optimizations.While a full implementation of the collector still remains to be done, an examination of pause times and space overheads, based on existing systems and realistic data, indicates that the algorithm is practical.