Transactional pointers: experiences with HTM-based reference counting in C++ - Archive ouverte HAL
Communication Dans Un Congrès Année : 2016

Transactional pointers: experiences with HTM-based reference counting in C++

Résumé

The most popular programming languages, such as C++ or Java, have libraries and data structures designed to automatically address concurrency hazards in order to run on multiple threads. In particular, this trend has also been adopted in the memory management domain. However, automatic concurrent memory management also comes at a price, leading sometimes to noticeable overhead. In this paper, we experiment with C++ smart pointers and their automatic memory-management technique based on reference counting. More precisely, we study how we can use hardware transactional memory (HTM) to avoid costly and sometimes unnecessary atomic operations. Our results suggest that replacing the systematic counting strategy with HTM could improve application performance in certain scenarios, such as concurrent linked-list traversal
Fichier principal
Vignette du fichier
carpen-amarie16netys-transactional.pdf (382.79 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01369538 , version 1 (21-09-2016)

Identifiants

Citer

Maria Carpen-Amarie, Dave Dice, Gaël Thomas, Pascal Felber. Transactional pointers: experiences with HTM-based reference counting in C++. NETYS 2016 : 4th International Conference on Networked Systems, May 2016, Marrakesh, Morocco. pp.102 - 116, ⟨10.1007/978-3-319-46140-3_8⟩. ⟨hal-01369538⟩
103 Consultations
183 Téléchargements

Altmetric

Partager

More