Litcius/Paper detail

Concurrent deferred reference counting with constant-time overhead

Daniel Anderson, Guy E. Blelloch, Yuanhao Wei

202124 citationsDOIOpen Access PDF

Abstract

We present a safe automatic memory reclamation approach for concurrent programs, and show that it is both theoretically and practically efficient. Our approach combines ideas from referencing counting and hazard pointers in a novel way to implement concurrent reference counting with wait-free, constant-time overhead. It overcomes the limitations of previous approaches by significantly reducing modifications to, and hence contention on, the reference counts. Furthermore, it is safer and easier to use than manual approaches. Our technique involves using a novel generalization of hazard pointers to defer reference-count decrements until no other process can be incrementing them, and to defer or elide reference-count increments for short-lived references.

Topics & Concepts

Computer scienceConstant (computer programming)HazardOverhead (engineering)GeneralizationSAFERParallel computingReal-time computingProgramming languageMathematicsComputer securityChemistryOrganic chemistryMathematical analysisDistributed systems and fault toleranceParallel Computing and Optimization TechniquesReal-Time Systems Scheduling
Concurrent deferred reference counting with constant-time overhead | Litcius