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

生成有代表性的执行[扩展摘要]

Generating Representative Executions [Extended Abstract]

Hendrik Maarand, Tarmo Uustalu

摘要:

分析并发程序的行为是困难的,因为可能的执行次数太多了。这个问题可以通过应用Mazurkiewicz迹理论来缓解,只关注程序可能执行的等价类的规范代表。本文提出了一个通用的框架,允许指定的执行环境的可能行为,并产生所有的Foata正常执行的程序,该环境中,在生成阶段,通过丢弃异常执行。Mazurkiewicz跟踪理论的关键成分,依赖关系,在框架中使用两个角色:首先,作为规范的一部分,其中执行是允许的,然后作为正常性检查算法的一部分,这是用来丢弃异常执行。该框架被实例化为XML层次结构的宽松内存模型。

英文摘要:

Analyzing the behaviour of a concurrent program is made difficult by the number of possible executions. This problem can be alleviated by applying the theory of Mazurkiewicz traces to focus only on the canonical representatives of the equivalence classes of the possible executions of the program. This paper presents a generic framework that allows to specify the possible behaviours of the execution environment, and generate all Foata-normal executions of a program, for that environment, by discarding abnormal executions during the generation phase. The key ingredient of Mazurkiewicz trace theory, the dependency relation, is used in the framework in two roles: first, as part of the specification of which executions are allowed at all, and then as part of the normality checking algorithm, which is used to discard the abnormal executions. The framework is instantiated to the relaxed memory models of the SPARC hierarchy.

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

↑