【24h】

Finding Concurrency-Related Bugs Using Random Isolation

机译:使用随机隔离查找并发相关的错误

获取原文

摘要

This paper describes the methods used in EMPIRE, a toolto detect concurrency-related bugs, namely atomic-set serializability vi-olations in Java programs. The correctness criterion is based on atomicsets of memory locations, which share a consistency property, and unitsof work, which preserve consistency when executed sequentially. EMPIREchecks that, for each atomic set, its units of work are serializable. Thisnotion subsumes data races (single-location atomic sets), and serializ-ability (all locations in one atomic set). To obtain a sound, finite model of locking behavior for use in EM-PIRE, we devised a new abstraction principle, random isolation, whichallows strong updates to be performed on the abstract counterpart ofeach randomly-isolated object. This permits EMPIRE to track the sta-tus of a Java lock, even for programs that use an unbounded number oflocks. The advantage of random isolation is that properties proved abouta randomly-isolated object can be generalized to all objects allocated atthe same site. We ran EMPIRE on eight programs from the ConTestbenchmark suite, for which EMPIRE detected numerous violations.
机译:本文介绍了帝国中使用的方法,一个工具检测并发相关的错误,即Java程序中的Atomic-Set Serializability vi-Olation。正确性标准基于内存位置的原子夹,它共享一致性属性,以及单位工作,在顺序执行时保留一致性。 EmpireChecks认为,对于每个原子集,其工作单位是可序列化的。 ThatingNotion归载数据比赛(单个地点原子集)和Serializ-Chenfile(一个原子集中的所有位置)。为了获得声音,有限的锁定行为用于EM-PIRE的锁定行为,我们设计了一种新的抽象原理,随机隔离,这使得在随机隔离对象的抽象对应物上进行了强大的更新。这允许帝国跟踪Java锁的STA-TU,即使对于使用无限数量的锁定的程序。随机隔离的优点是属性证明了随机隔离的对象可以推广到在同一站点处分配的所有对象。我们在竞赛套装套件中遇到了八个节目,帝国检测到众多违规行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号