关于在释放/获取模型下验证的可判定性
On the Decidability of Verification under Release/Acquire
AI总结:
本文证明在释放/获取模型中,即使不使用原子读-修改-写操作,可达性也是不可判定的,并表明通过限制上下文切换和RMW操作可恢复可判定性。
摘要:
在弱内存模型下验证并发程序是一个日益增长的努力,由于弱内存在并发软件和硬件中的日益普及。释放/获取已成为高性能并发编程的标准模型,被主流语言和计算机架构采用。令人惊讶的是,Abdulla等人(PLDI'19)证明,在程序具有原子读-修改-写(RMW)操作时,该模型下的可达性是不可判定的。此外,即使在仅包含4个上下文的执行中,不可判定性仍然成立,因此对基于有限上下文切换的低估方法具有免疫性。传统的、无RMW情况被留作挑战性问题,证明了非原始递归的下界作为第一步,并已连续七年未解决。在本文中,我们通过证明在释放/获取模型的无RMW片段中可达性也是不可判定的,从而表征了导致不可判定性的最简单的通信原语集。此外,我们证明通过限制上下文切换和RMW操作的数量可以恢复可判定性,从而完全表征了在RMW限制和上下文限制这两个维度上的可判定性边界。
英文摘要:
The verification of concurrent programs under weak-memory models is a burgeoning effort, owing to the increasing adoption of weak memory in concurrent software and hardware. Release/Acquire has become the standard model for high-performance concurrent programming, adopted by common mainstream languages and computer architectures. In a surprising result, Abdulla et al. (PLDI'19) proved that reachability in this model is undecidable when programs have access to atomic Read-Modify-Write (RMW) operations. Moreover, undecidability holds even for executions with just 4 contexts, and is thus immune to underapproximations based on bounded context switching. The canonical, RMW-free case was left as a challenging question, proving a non-primitive recursive lower bound as a first step, and has remained open for the past seven years. In this paper, we settle the above open question by proving that reachability is undecidable even in the RMW-free fragment of Release/Acquire, thereby characterizing the simplest set of communication primitives that gives rise to undecidability. Moreover, we prove that bounding both the number of context switches and the number of RMWs recovers decidability, thus fully characterizing the boundary of decidability along the dimensions of RMW-bounding and context-bounding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。