Efficient and Reliable Lock-Free Memory Reclamation Based on Reference Counting

  • Authors:
  • Anders Gidenstam;Marina Papatriantafilou;Hakan Sundell;Philippas Tsigas

  • Affiliations:
  • Max Planck Institute for Computer Science, Saarbrücken;Chalmers University of Technology, Göteborg;University College of Borås, Borås;Chalmers University of Technology, Göteborg

  • Venue:
  • IEEE Transactions on Parallel and Distributed Systems
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an efficient and practical lock-free method for semiautomatic (application-guided) memory reclamation based on reference counting, aimed for use with arbitrary lock-free dynamic data structures. The method guarantees the safety of local as well as global references, supports arbitrary memory reuse, uses atomic primitives that are available in modern computer systems, and provides an upper bound on the amount of memory waiting to be reclaimed. To the best of our knowledge, this is the first lock-free method that provides all of these properties. We provide analytical and experimental study of the method. The experiments conducted have shown that the method can also provide significant performance improvements for lock-free algorithms of dynamic data structures that require strong memory management.