English

VBR: Version Based Reclamation

Distributed, Parallel, and Cluster Computing 2021-07-30 v1

Abstract

Safe lock-free memory reclamation is a difficult problem. Existing solutions follow three basic methods (or their combinations): epoch based reclamation, hazard pointers, and optimistic reclamation. Epoch-based methods are fast, but do not guarantee lock-freedom. Hazard pointer solutions are lock-free but typically do not provide high performance. Optimistic methods are lock-free and fast, but previous optimistic methods did not go all the way. While reads were executed optimistically, writes were protected by hazard pointers. In this work we present a new reclamation scheme called version based reclamation (VBR), which provides a full optimistic solution to lock-free memory reclamation, obtaining lock-freedom and high efficiency. Speculative execution is known as a fundamental tool for improving performance in various areas of computer science, and indeed evaluation with a lock-free linked-list, hash-table and skip-list shows that VBR outperforms state-of-the-art existing solutions.

Keywords

Cite

@article{arxiv.2107.13843,
  title  = {VBR: Version Based Reclamation},
  author = {Gali Sheffi and Maurice Herlihy and Erez Petrank},
  journal= {arXiv preprint arXiv:2107.13843},
  year   = {2021}
}
R2 v1 2026-06-24T04:38:09.428Z