Checking Concurrent Data Structures Under the C/C++11 Memory Model
Checking Concurrent Data Structures Under the C/C++11 Memory Model
复制标题
检查C/C 11内存模型下的并发数据结构
DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Brian Demsky
中科院分区:
文献类型:
--
作者:
Peizhao Ou;Brian Demsky
Concurrent data structures often provide better performance on multi-core processors but are significantly more difficult to design and test than their sequential counterparts. The C/C++11 standard introduced a weak memory model with support for low-level atomic operations such as compare and swap (CAS). While low-level atomic operations can significantly improve the performance of concurrent data structures, they introduce non-intuitive behaviors that can increase the difficulty of developing code. In this paper, we develop a correctness model for concurrent data structures that make use of atomic operations. Based on this correctness model, we present CDSSPEC, a specification checker for concurrent data structures under the C/C++11 memory model. We have evaluated CDSSPEC on 10 concurrent data structures, among which CDSSPEC detected 3 known bugs and 93% of the injected bugs.
DOI:
10.1145/2837614.2837637
发表时间:
2016
期刊:
--
影响因子:
--
作者:
Batty M
通讯作者:
Batty M
DOI:
10.1145/2429069.2429099
发表时间:
2013
期刊:
--
影响因子:
--
作者:
Batty M
通讯作者:
Batty M