1. On the implementation of memory reclamation methods in a lock-free hash trie design
- Author
-
Pedro Moreno, Miguel Areias, and Ricardo Rocha
- Subjects
Theoretical computer science ,Record locking ,Computer Networks and Communications ,Computer science ,Hash function ,020206 networking & telecommunications ,02 engineering and technology ,Data structure ,Hash table ,Theoretical Computer Science ,Artificial Intelligence ,Hardware and Architecture ,Hash trie ,Trie ,Data_FILES ,0202 electrical engineering, electronic engineering, information engineering ,Key (cryptography) ,Non-blocking algorithm ,020201 artificial intelligence & image processing ,Software - Abstract
Hash tries are a trie-based data structure with nearly ideal characteristics for the implementation of hash maps. Starting from a particular lock-free hash map data structure, named Lock-Free Hash Tries, we focus on solving the problem of memory reclamation without losing the lock-freedom property. To the best of our knowledge, outside garbage collected environments, there is no current implementation of hash maps that is able to reclaim memory in a lock-free manner. To achieve this goal, we propose an approach for memory reclamation specific to Lock-Free Hash Tries that explores the characteristics of its structure in order to achieve efficient memory reclamation with low and well-defined memory bounds. We present and discuss in detail the key algorithms required to easily reproduce our implementation by others. Experimental results show that our approach obtains better results when compared with other state-of-the-art memory reclamation methods and provides a competitive and scalable hash map implementation, if compared to lock-based implementations.
- Published
- 2021