【24h】

Light: Replay via Tightly Bounded Recording

机译:轻:通过紧密绑定的录音进行重放

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

摘要

Reproducing concurrency bugs is a prominent challenge. Existing techniques either rely on recording very fine grained execution information and hence have high runtime overhead, or strive to log as little information as possible but provide no guarantee in reproducing a bug. We present Light, a technique that features much lower overhead compared to techniques based on fine grained recording, and that guarantees to reproduce concurrent bugs. We leverage and formally prove that recording flow dependences is the necessary and sufficient condition to reproduce a concurrent bug. The flow dependences, together with the thread local orders that can be automatically inferred (and hence not logged), are encoded as scheduling constraints. An SMT solver is used to derive a replay schedule, which is guaranteed to exist even though it may be different from the original schedule. Our experiments show that Light has only 44% logging overhead, almost one order of magnitude lower than the state of the art techniques relying on logging memory accesses. Its space overhead is only 10% of those techniques. Light can also reproduce all the bugs we have collected whereas existing techniques miss some of them.
机译:重现并发错误是一项重大挑战。现有技术要么依赖于记录非常精细的执行信息,从而具有较高的运行时开销,要么努力记录尽可能少的信息,但不能保证再现错误。我们提出了Light,与基于细粒度记录的技术相比,它的开销要低得多,并且可以保证重现并发的bug。我们充分利用并正式证明,记录流依赖性是重现并发错误的必要和充分条件。流依赖关系以及可以自动推断(因此不会记录)的线程本地顺序被编码为调度约束。 SMT求解器用于导出重播计划,即使它可能与原始计划不同,也可以保证存在该计划。我们的实验表明,Light仅具有44%的日志记录开销,比依赖于日志记录内存访问的现有技术水平低了近一个数量级。它的空间开销仅为这些技术的10%。 Light还可以重现我们收集的所有错误,而现有技术却会错过其中的一些错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号