arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.03701cs.PL
收藏

螺纹-模块化分析的效果总结

Effect Summaries for Thread-Modular Analysis

Lukáš Holík, Roland Meyer, Tomáš Vojnar, Sebastian Wolff

摘要:

我们提出一种新的猜测和检查的原则,以提高无锁数据结构的线程模块验证的效率。我们建立在一个启发式的猜测候选人的无状态效果摘要的程序,通过搜索代码的实例的复制和检查编程习惯用法常见的无锁数据结构。这些候选摘要用于计算线性时间内线程间的干涉。由于候选摘要不需要是音效摘要,我们展示了如何完全自动地检查候选摘要的精度是否足够。因此,我们可以执行健全的验证,尽管依赖于不健全的启发式。我们已经实施了我们的方法,发现它比现有的方法快了两个数量级。

英文摘要:

We propose a novel guess-and-check principle to increase the efficiency of thread-modular verification of lock-free data structures. We build on a heuristic that guesses candidates for stateless effect summaries of programs by searching the code for instances of a copy-and-check programming idiom common in lock-free data structures. These candidate summaries are used to compute the interference among threads in linear time. Since a candidate summary need not be a sound effect summary, we show how to fully automatically check whether the precision of candidate summaries is sufficient. We can thus perform sound verification despite relying on an unsound heuristic. We have implemented our approach and found it up to two orders of magnitude faster than existing ones.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑