Lune

PLDI2026顶会

Fast Atomicity Monitoring

Hünkar Can Tunç, Yifan Dong, Andreas Pavlogiannis

2026年份

摘要

Atomicity is a fundamental abstraction in concurrency, specifying that program behavior can be understood by considering specific code blocks executing atomically. However, atomicity invariants are tricky to maintain while also optimizing for code efficiency, and atomicity violations are a common root cause of many concurrency bugs. To address this problem, several dynamic techniques have been developed for testing whether a program execution adheres to an atomicity specification, most often instantiated as conflict-serializability. The efficiency of the analysis has been targeted in various papers, with the state-of-the-art algorithms RegionTrack and Aerodrome achieving a time complexity 𝑂 (𝑛𝑘 3 ) and 𝑂 (𝑛𝑘 (𝑘 + 𝑣 + ℓ)), respectively, for a trace 𝜎 of 𝑛 events, 𝑘 threads, 𝑣 locations, and ℓ locks.

In this paper we introduce AtomSanitizer, a new algorithm for testing conflict-serializability, with time complexity 𝑂 (𝑛𝑘 2 ). AtomSanitizer operates in an efficient streaming style, is theoretically faster than all existing algorithms, and also has a smaller memory footprint. Moreover, it is the first algorithm designed to use little locking when deployed in a concurrent monitoring setting. Experiments on standard benchmarks indicate that AtomSanitizer is always faster in practice than all existing conflict-serializability testers. Finally, we also implement AtomSanitizer inside the TSAN framework, for monitoring atomicity in real time. Our experiments reveal that AtomSanitizer incurs only a marginal time and space overhead over the data-race detection engine of TSAN, and thus is the first algorithm for conflict-serializability demonstrated to be suitable for a runtime monitoring setting.

CCS Concepts: • Software and its engineering → Software verification and validation; Software testing and debugging.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 174f2199-4541-4e8e-8e55-77aa63c1ca37

它引用的顶会 Paper12

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖