一种通用的无阻塞树技术
A General Technique for Non-blocking Trees
摘要:
我们描述了一个通用的技术,用于获得可证明正确的,非阻塞实现的一个大类的树数据结构的指针是从父母到孩子。允许更新以原子方式修改树的任何连续部分。我们的非阻塞算法利用LLX,SCX和VLX原语,这是标准的LL,SC和VL原语的多字概括,并已实现从单字CAS。为了说明我们的技术,我们描述了如何可以使用它在一个相当简单的方式来获得一个非阻塞实现的色树,这是一个宽松的变种的红黑树。树在任何时候的高度都是$O(c+ \log n)$,其中$n$是键的数量,$c$是正在进行的更新的数量。我们提供了一个实验性能分析表明,我们的Java实现的彩色树的竞争对手,往往显着优于其他领先的并发字典。
英文摘要:
We describe a general technique for obtaining provably correct, non-blocking implementations of a large class of tree data structures where pointers are directed from parents to children. Updates are permitted to modify any contiguous portion of the tree atomically. Our non-blocking algorithms make use of the LLX, SCX and VLX primitives, which are multi-word generalizations of the standard LL, SC and VL primitives and have been implemented from single-word CAS. To illustrate our technique, we describe how it can be used in a fairly straightforward way to obtain a non-blocking implementation of a chromatic tree, which is a relaxed variant of a red-black tree. The height of the tree at any time is $O(c+ \log n)$, where $n$ is the number of keys and $c$ is the number of updates in progress. We provide an experimental performance analysis which demonstrates that our Java implementation of a chromatic tree rivals, and often significantly outperforms, other leading concurrent dictionaries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。