Lazy sequentialization for TSO and PSO via shared memory abstractions
Lazy sequentialization for TSO and PSO via shared memory abstractions
复制标题
DOI:
10.5555/3077629.3077662
复制
发表时间:
2016-10
期刊:
影响因子:
--
通讯作者:
Ermenegildo Tomasco;Truc L. Nguyen;Omar Inverso;B. Fischer;S. L. Torre;G. Parlato
中科院分区:
文献类型:
--
作者:
Ermenegildo Tomasco;Truc L. Nguyen;Omar Inverso;B. Fischer;S. L. Torre;G. Parlato
Lazy sequentialization is one of the most effective approaches for the bounded verification of concurrent programs. Existing tools assume sequential consistency (SC), thus the feasibility of lazy sequentializations for weak memory models (WMMs) remains untested. Here, we describe the first lazy sequentialization approach for the total store order (TSO) and partial store order (PSO) memory models. We replace all shared memory accesses with operations on a shared memory abstraction (SMA), an abstract data type that encapsulates the semantics of the underlying WMM and implements it under the simpler SC model. We give efficient SMA implementations for TSO and PSO that are based on temporal circular doubly-linked lists, a new data structure that allows an efficient simulation of the store buffers. We show experimentally, both on the SV-COMP concurrency benchmarks and a real world instance, that this approach works well in combination with lazy sequentialization on top of bounded model checking.