首页> 外文期刊>Automated software engineering >Precise slicing of concurrent programs: An Evaluation of static slicing algorithms for concurrent programs
【24h】

Precise slicing of concurrent programs: An Evaluation of static slicing algorithms for concurrent programs

机译:并发程序的精确切片:对并发程序的静态切片算法的评估

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

摘要

While there exist efficient algorithms to slice sequential programs precisely, there are only two algorithms for precise slicing of concurrent interprocedural programs with recursive procedures (Krinke in Proc. ESEC/FSE'03, pp. 178-187, 2003; Nanda and Ramesh in ACM Toplas. 28(6): 1088-1144, 2006). We present an empirical evaluation of both algorithms for Java. We demonstrate that both algorithms provide the same precision up to the model of concurrency in use and show that the concurrency model has strong impact on slice precision and computation costs. Furthermore, we extend both algorithms to support dynamic thread creation both in loops and recursion-a feature that the original algorithms could not fully handle. The worst case complexity of the algorithms being exponential, we developed several optimizations and compared these with each other and with algorithms that trade precision for speed. Finally, we show that one algorithm may produce incorrect slices and present a remedy.
机译:尽管存在有效的算法来精确切片顺序程序,但是只有两种算法可以对带有递归程序的并发过程间程序进行精确切片(Krinke,Proc。ESEC / FSE'03,第178-187页,2003年; Nanda和Ramesh,ACM)。 28(6):1088-1144,2006)。我们对这两种Java算法进行了实证评估。我们证明了这两种算法在使用中的并发模型上都提供了相同的精度,并表明并发模型对切片精度和计算成本有很大的影响。此外,我们扩展了这两种算法以支持循环和递归中的动态线程创建,这是原始算法无法完全处理的功能。最坏情况下算法的复杂度是指数级的,我们开发了几种优化方法,并将它们相互之间以及与以速度换取精度的算法进行了比较。最后,我们证明一种算法可能会产生不正确的切片并提出补救措施。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号