TY - GEN
T1 - Transactional pointers
T2 - 4th International Conference on Networked Systems, NETYS 2016
AU - Carpen-Amarie, Maria
AU - Dice, Dave
AU - Thomas, Gaël
AU - Felber, Pascal
N1 - Publisher Copyright:
© Springer International Publishing AG 2016.
PY - 2016/1/1
Y1 - 2016/1/1
N2 - 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 memorymanagement 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.
AB - 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 memorymanagement 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.
U2 - 10.1007/978-3-319-46140-3_8
DO - 10.1007/978-3-319-46140-3_8
M3 - Conference contribution
AN - SCOPUS:84990050297
SN - 9783319461397
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 102
EP - 116
BT - Networked Systems - 4th International Conference, NETYS 2016, Revised Selected Papers
A2 - -Gallet, Carole Delporte
A2 - Abdulla, Parosh Aziz
PB - Springer Verlag
Y2 - 18 May 2016 through 20 May 2016
ER -