AutoMO: automatic inference of memory order parameters for C/C++11
AutoMO: automatic inference of memory order parameters for C/C++11
复制标题
AutoMO:自动推断 C/C 11 的内存顺序参数
DOI:
--
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Brian Demsky
中科院分区:
文献类型:
--
作者:
Peizhao Ou;Brian Demsky
Many concurrent data structures are initially designed for the sequential consistency (SC) memory model. Developers often implement these data structures on real-world systems with weaker memory models by adding sufficient fences to ensure that their implementation on the weak memory model exhibits the same executions as the SC memory model. Recently, the C11 and C++11 standards have added a weak memory model to the C and C++ languages. Developing and debugging code for weak memory models can be extremely challenging. We present AutoMO, a framework to support porting data structures designed for the SC memory model to the C/C++11 memory model. AutoMO provides support across the porting process: (1) it automatically infers initial settings for the memory order parameters, (2) it detects whether a C/C++11 execution is equivalent to some SC execution, and (3) it simplifies traces to make them easier to understand. We have used AutoMO to successfully infer memory order parameters for a range of data structures and to check whether executions of several concurrent data structure implementations are SC.
DOI:
10.1145/2003476.2003493
发表时间:
2011
期刊:
--
影响因子:
--
作者:
Blanchette J
通讯作者:
Blanchette J
DOI:
10.1145/2429069.2429099
发表时间:
2013
期刊:
--
影响因子:
--
作者:
Batty M
通讯作者:
Batty M