【24h】

On Interference Abstractions

机译:关于干涉抽象

获取原文

摘要

Interference is the bane of both concurrent programming and analysis. To avoid considering all possible interferences between concurrent threads, most automated static analysis employ techniques to approximate interference, e.g., by restricting the thread scheduler choices or by approximating the transition relations or reachable states of the program. However, none of these methods are able to reason about interference directly. In this paper, we introduce the notion of interference abstractions (IAs), based on the models of shared memory consistency, to reason about interference efficiently. IAs differ from the known abstractions for concurrent programs and cannot be directly modeled by these abstractions. Concurrency bugs typically involve a small number of unexpected interferences and therefore can be captured by small IAs. We show how IAs, in the form of both over- and under-approximations of interference, can be obtained syntactically from the axioms of sequential consistency. Further, we present an automatic method to synthesize IAs suitable for checking safety properties. Our experimental results show that small IAs are often sufficient to check properties in realistic applications, and drastically improve the scalability of concurrent program analysis in these applications.
机译:干扰是两种并发编程和分析的BANE。为避免考虑并发线程之间的所有可能的干扰,大多数自动化的静态分析采用近似干扰的技术,例如,通过限制线程调度器选择或近似程序的转换关系或可到达状态。但是,这些方法都不能够直接推理干扰。在本文中,我们介绍了干扰抽象(IAS)的概念,基于共享内存一致性的模型,以有效地接受干扰。 IAS与并发程序的已知抽象不同,并且不能通过这些抽象直接建模。并发错误通常涉及少量意外的干扰,因此可以通过小IAS捕获。我们展示了IAS如何从顺序一致性的公理句法地从干扰的过度和近似的近似。此外,我们提出了一种自动方法来合成适合检查安全性的IAS。我们的实验结果表明,小IAS通常足以检查现实应用中的属性,并大大提高了这些应用中的并发程序分析的可扩展性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号