首页> 外文期刊>ACM transactions on computational logic >Complexity of Data Dependence Problems for Program Schemas with Concurrency
【24h】

Complexity of Data Dependence Problems for Program Schemas with Concurrency

机译:具有并发性的程序模式的数据依赖问题的复杂性

获取原文
获取原文并翻译 | 示例

摘要

The problem of deciding whether one point in a program is data dependent upon another is fundamental to program analysis and has been widely studied. In this article we consider this problem at the abstraction level of program schemas in which computations occur in the Herbrand domain of terms and predicate symbols, which represent arbitrary predicate functions, are allowed. Given a vertex l in the flowchart of a schema S having only equality (variable copying) assignments, and variables v, w, we show that it is PSPACE-hard to decide whether there exists an execution of a program defined by S in which u holds the initial value of w at at least one occurrence of l on the path of execution, with membership in PSPACE holding provided there is a constant upper bound on the arity of any predicate in S. We also consider the 'dual' problem in which v is required to hold the initial value of w at every occurrence of l, for which the analogous results hold. Additionally, the former problem for programs with nondeterministic branching (in effect, free schemas) in which assignments with functions are allowed is proved to be polynomial-time decidable provided a constant upper bound is placed upon the number of occurrences of the concurrency operator in the schemas being considered. This result is promising since many concurrent systems have a relatively small number of threads (concurrent processes), especially when compared with the number of statements they have.
机译:确定程序中的一个点是否是数据依赖于另一点的问题是程序分析的基础,并且已经得到广泛研究。在本文中,我们在程序模式的抽象级别考虑此问题,在该模式下,计算在术语的Herbrand域中发生,并且允许代表任意谓词功能的谓词符号。给定模式S的流程图中仅具有相等(变量复制)分配以及变量v,w的顶点l,我们表明,用PSPACE很难确定是否存在由S定义的程序的执行,其中在执行路径上至少出现一次l时,将w的初始值保持不变,并保持PSPACE的成员资格,前提是S中任何谓词的arity都有恒定的上限。我们还考虑了“对偶”问题,其中v要求在每次出现l时都保持w的初始值,对此保持类似的结果。此外,对于带有不确定性分支(实际上是自由模式)的程序的前一个问题(其中允许带有函数的赋值)被证明是多项式时间可确定的,前提是将并发运算符在操作中的出现次数设为恒定上限。正在考虑的模式。由于许多并发系统具有相对较少的线程(并发进程),尤其是与其所拥有的语句数量相比,该结果令人鼓舞。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号