每种数据结构都支持无锁内存回收
Every Data Structure Deserves Lock-Free Memory Reclamation
摘要:
众所周知,对无锁数据结构的内存管理支持是一个棘手的问题。最近的工作已经成功地减少了这样的计划的开销。然而,将存储器管理支持应用于数据结构仍然是复杂的,并且在许多情况下,需要重新设计数据结构。在本文中,我们提出了第一个无锁的内存管理计划,适用于一般(任意)无锁的数据结构,可以通过编译器插件自动应用。除了合并到数据结构的简单性之外,该方案提供低开销并且不依赖于任何OS服务的锁自由。
英文摘要:
Memory-management support for lock-free data structures is well known to be a tough problem. Recent work has successfully reduced the overhead of such schemes. However, applying memory-management support to a data structure remains complex and, in many cases, requires redesigning the data structure. In this paper, we present the first lock-free memory-management scheme that is applicable to general (arbitrary) lock-free data structures and that can be applied automatically via a compiler plug-in. In addition to the simplicity of incorporating to data structures, this scheme provides low overhead and does not rely on the lock freedom of any OS services.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。