paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Scheduling constraint based abstraction refinement for weak memory models

面向弱内存模型的基于调度约束的抽象精化
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 3/10 · 该论文属于程序验证与静态分析领域,但聚焦弱内存模型(TSO/PSO)下的并发程序验证,不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前核心研究方向的交叉点不直接。引用 14 inbox
Liangze Yin, Wei Dong, Wanwei Liu, Ji Wang
crossref: 2026-09-12

AI 速览

一句话:将 SCAR 抽象精化扩展到 TSO/PSO 弱内存模型,显著提升多线程程序验证效率。

本文研究弱内存模型(WMM)下多线程程序的验证问题。现有基于调度约束的抽象精化(SCAR)方法在顺序一致性(SC)下高效,但难以直接处理 TSO、PSO 等 WMM 中同一线程内存操作的非确定性执行。作者将 SCAR 扩展至 WMM,丰富了反例的事件顺序图(EOG)以刻画 SC 与 WMM 下的顺序约束,并提出统一的 EOG 生成方法,可高效获得最小 EOG。在大量多线程 C 程序上的实验表明,该方法显著优于当前先进工具,且在 TSO/PSO 下的验证时间与内存开销与 SC 大致相当。

问题
如何在 TSO、PSO 等弱内存模型下高效验证多线程程序,避免因同一线程内存操作非确定性执行导致的验证复杂度剧增。
方法
将顺序一致性下的 SCAR 方法扩展到弱内存模型,增强反例的事件顺序图(EOG)以捕获 SC 与 WMM 的顺序要求,并提出可高效生成最小 EOG 的统一方法。
评估
在大量多线程 C 程序上进行实验,与当前先进工具比较,证明方法显著更优,且 TSO/PSO 下时间与内存开销与 SC 大致相当。
原文摘要(Abstract)

Scheduling constraint based abstraction refinement (SCAR) is one of the most efficient methods for verifying programs under sequential consistency (SC). However, most multi-processor architectures implement weak memory models (WMMs) in order to improve the performance of a program. Due to the nondeterministic execution of those memory operations by the same thread, the behavior of a program under WMMs is much more complex than that under SC, which significantly increases the verification complexity. This paper elegantly extends the SCAR method to WMMs such as TSO and PSO. To capture the order requirements of an abstraction counterexample under WMMs, we have enriched the event order graph (EOG) of a counterexample such that it is competent for both SC and WMMs. We have also proposed a unified EOG generation method which can always obtain a minimal EOG efficiently. Experimental results on a large set of multi-threaded C programs show promising results of our method. It significantly outperforms state-of-the-art tools, and the time and memory it required to verify a program under TSO and PSO are roughly comparable to that under SC.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4751,
  title = {Scheduling constraint based abstraction refinement for weak memory models},
  author = {Liangze Yin and Wei Dong and Wanwei Liu and Ji Wang},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3238223}
}