首页> 外文OA文献 >Techniques to improve testing scalability on concurrent programs: combining static analysis and testing for Deadlock detection
【2h】

Techniques to improve testing scalability on concurrent programs: combining static analysis and testing for Deadlock detection

机译:提高并发程序测试扩展性的技术:结合静态分析和测试以进行死锁检测

摘要

Static deadlock analyzers might be able to verify the absence of deadlock, but when they detect a potential deadlock cycle, they provide little (or even none) information on their output. Due to the complex ow of concurrent programs, the user might not be able to find the source of the anomalous behaviour from the abstract information computed by static analysis.This paper proposes the combined use of static analysis and testing for effective deadlock detection in asynchronous programs. Our main contributions are: (1)We present an enhanced semantics which allows an early detection of deadlocks during testing and that can give to the user a precise description of the deadlock trace. (2) We combine our testing framework with the abstract descriptions of potential deadlock cycles computed by an existing static deadlock analyzer. Namely, such descriptions are used by our enhanced semantics to guide the execution towards the potential deadlock paths (while other paths are pruned). When the program features a deadlock, our combined use of static analysis and testing provides an effective technique to find deadlock traces. While if the program does not have deadlock, but the analyzer inaccurately spotted it, we might be able to prove deadlock freedom.
机译:静态死锁分析器可能能够验证是否没有死锁,但是当它们检测到潜在的死锁周期时,它们在其输出中提供的信息很少(甚至没有)。由于并发程序的复杂性,用户可能无法从通过静态分析计算出的抽象信息中找到异常行为的来源。本文提出了结合使用静态分析和测试的方法,以在异步程序中进行有效的死锁检测。我们的主要贡献是:(1)我们提供了增强的语义,可以在测试期间及早发现死锁,并且可以为用户提供死锁跟踪的精确描述。 (2)我们将测试框架与现有静态死锁分析器计算出的潜在死锁周期的抽象描述相结合。也就是说,我们的增强语义使用了此类描述,以将执行引导至潜在的死锁路径(同时修剪其他路径)。当程序具有死锁时,我们结合使用静态分析和测试将提供一种有效的技术来查找死锁跟踪。如果该程序没有死锁,但分析器不准确地发现了死锁,则我们也许可以证明死锁的自由度。

著录项

  • 作者

    Isabel Márquez Miguel;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号