【24h】

Root Causing Linearizability Violations

机译:根源导致线性化违规

获取原文
获取外文期刊封面目录资料

摘要

Linearizability is the de facto correctness criterion for concurrent data type implementations. Violation of linearizability is witnessed by an error trace in which the outputs of individual operations do not match those of a sequential execution of the same operations. Extensive work has been done in discovering linearizability violations, but little work has been done in trying to provide useful hints to the programmer when a violation is discovered by a tester tool. In this paper, we propose an approach that identifies the root causes of linearizability errors in the form of code blocks whose atomicity is required to restore linearizability. The key insight of this paper is that the problem can be reduced to a simpler algorithmic problem of identifying minimal root causes of conflict serializability violation in an error trace combined with a heuristic for identifying which of these are more likely to be the true root cause of non-linearizability. We propose theoretical results outlining this reduction, and an algorithm to solve the simpler problem. We have implemented our approach and carried out several experiments on realistic concurrent data types demonstrating its efficiency.
机译:线性化是并发数据类型实现的事实正确性标准。错误跟踪表明违反了线性化能力,其中单个操作的输出与相同操作的顺序执行的输出不匹配。在发现线性化违规方面已经进行了广泛的工作,但是当测试人员工具发现违规时,为向程序员提供有用的提示所做的工作很少。在本文中,我们提出了一种方法,该方法以代码块的形式标识线性化错误的根本原因,而代码块的原子性是恢复线性化所必需的。本文的主要见解是,该问题可以简化为一种简单的算法问题,即在错误跟踪中识别冲突可串行性违规的最小根本原因,并结合启发式方法来识别其中哪些更可能是导致错误的真正原因。非线性。我们提出了概述这种减少的理论结果,并提出了一种解决较简单问题的算法。我们已经实现了我们的方法,并针对实际的并发数据类型进行了多次实验,以证明其效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号