A Sleek Lock-Free Hash Map in an ERA of Safe Memory Reclamation Methods
Pedro Moreno, Miguel Areias and Ricardo Rocha
2025
Abstract
Lock-free data structures have become increasingly significant due to
their algorithmic advantages in multi-core cache-based
architectures. Safe Memory Reclamation (SMR) is a technique used in
concurrent programming to ensure that memory can be safely reclaimed
without causing data corruption, dangling pointers, or access to freed
memory. The ERA theorem states that any SMR method for concurrent data
structures can only provide at most two of the three main desirable
properties: Ease of use, Robustness, and Applicability. This
fundamental trade-off influences the design of efficient lock-free
data structures at an early stage. This work redesigns a previous
lock-free hash map to fully exploit the properties of the ERA theorem
and to leverage the characteristics of multi-core cache-based
architectures by minimizing the number of cache misses, which are a
significant bottleneck in multi-core environments. Experimental
results show that our design outperforms the previous design, which
was already quite competitive when compared against the Concurrent
Hash Map design of the Intel’s TBB library.
Bibtex
@Article{moreno-parco25,
author = {P. Moreno and M. Areias and R. Rocha},
title = {{A sleek lock-free hash map in an ERA of safe memory reclamation methods}},
journal = {Parallel Computing},
pages = {1--12},
volume = {126},
number = {Art. No. 103162},
month = {November},
year = {2025},
note = {(First online: October 2025)},
}
Download Paper
PDF file
Elsevier