Skip to main navigation Skip to search Skip to main content

Root Causing Linearizability Violations

  • Laboratoire de Probabilités et Modèles Aléatoires
  • University of Toronto

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationComputer Aided Verification - 32nd International Conference, CAV 2020, Proceedings
EditorsShuvendu K. Lahiri, Chao Wang
PublisherSpringer
Pages350-375
Number of pages26
ISBN (Print)9783030532871
DOIs
Publication statusPublished - 1 Jan 2020
Externally publishedYes
Event32nd International Conference on Computer Aided Verification, CAV 2020 - Los Angeles, United States
Duration: 21 Jul 202024 Jul 2020

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12224 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference32nd International Conference on Computer Aided Verification, CAV 2020
Country/TerritoryUnited States
CityLos Angeles
Period21/07/2024/07/20

Fingerprint

Dive into the research topics of 'Root Causing Linearizability Violations'. Together they form a unique fingerprint.

Cite this