StackTrack: An automated transactional approach to concurrent memory reclamation

Dan Alistarh, Patrick Eugster, Maurice Herlihy, Alexander Matveev, Nir Shavit

Research output: Contribution to conferencePaperpeer-review

Abstract

Dynamic memory reclamation is arguably the biggest open problem in concurrent data structure design: All known solutions induce high overhead, or must be customized to the specific data structure by the programmer, or both. This paper presents StackTrack, the first concurrent memory reclamation scheme that can be applied automatically by a compiler, while maintaining efficiency. StackTrack eliminates most of the expensive bookkeeping required for memory reclamation by leveraging the power of hardware transactional memory (HTM) in a new way: it tracks thread variables dynamically, and in an atomic fashion. This effectively makes all memory references visible without having threads pay the overhead of writing out this information. Our empirical results show that this new approach matches or outperforms prior, non-automated, techniques.

Original languageEnglish
DOIs
StatePublished - 2014
Externally publishedYes
Event9th ACM European Conference on Computer Systems, EuroSys 2014 - Amsterdam, Netherlands
Duration: 14 Apr 201416 Apr 2014

Conference

Conference9th ACM European Conference on Computer Systems, EuroSys 2014
Country/TerritoryNetherlands
CityAmsterdam
Period14/04/1416/04/14

Fingerprint

Dive into the research topics of 'StackTrack: An automated transactional approach to concurrent memory reclamation'. Together they form a unique fingerprint.

Cite this