自动生成并发检查
Generating Concurrency Checks Automatically
摘要:
本文介绍了ATAB,这是一个自动为动作树生成成对可达性检查的工具。动作树可以用来研究现实世界中并发程序的行为。ATAB将成对可达性检查编码到交替树自动机中,以确定动作树是否具有程序中任何一对给定点同时可达的调度。由于成对可达性问题是不可判定的,因此ATAB通常在基于锁的并发的受限形式下操作。ATAB产生的交替树自动机比以前使用的更紧凑,更有效地检查。该过程是完全自动化的,这简化了对更复杂的动作树进行编码检查的过程。产生的交替树自动机比以前的构造更容易扩展到大量的锁。
英文摘要:
This article introduces ATAB, a tool that automatically generates pairwise reachability checks for action trees. Action trees can be used to study the behaviour of real-world concurrent programs. ATAB encodes pairwise reachability checks into alternating tree automata that determine whether an action tree has a schedule where any pair of given points in the program are simultaneously reachable. Because the pairwise reachability problem is undecidable in general ATAB operates under a restricted form of lock-based concurrency. ATAB produces alternating tree automata that are more compact and more efficiently checkable than those that have been previously used. The process is entirely automated, which simplifies the process of encoding checks for more complex action trees. The alternating tree automata produced are easier to scale to large numbers of locks than previous constructions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。