Passer à la navigation principale Passer à la recherche Passer au contenu principal

Violat: Generating tests of observational refinement for concurrent objects

  • SRI International
  • Laboratoire de Probabilités et Modèles Aléatoires

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

High-performance multithreaded software often relies on optimized implementations of common abstract data types (ADTs) like counters, key-value stores, and queues, i.e., concurrent objects. By using fine-grained and non-blocking mechanisms for efficient inter-thread synchronization, these implementations are vulnerable to violations of ADT-consistency which are difficult to detect: bugs can depend on specific combinations of method invocations and argument values, as well as rarely-occurring thread interleavings. Even given a bug-triggering interleaving, detection generally requires unintuitive test assertions to capture inconsistent combinations of invocation return values. In this work we describe the Violat tool for generating tests that witness violations to atomicity, or weaker consistency properties. Violat generates self-contained and efficient programs that test observational refinement, i.e., substitutability of a given ADT with a given implementation. Our approach is both sound and complete in the limit: for every consistency violation there is a failed execution of some test program, and every failed test signals an actual consistency violation. In practice we compromise soundness for efficiency via random exploration of test programs, yielding probabilistic soundness instead. Violat’s tests reliably expose ADT-consistency violations using off-the-shelf approaches to concurrent test validation, including stress testing and explicit-state model checking.

langue originaleAnglais
titreComputer Aided Verification - 31st International Conference, CAV 2019, Proceedings
rédacteurs en chefIsil Dillig, Serdar Tasiran
EditeurSpringer Verlag
Pages534-546
Nombre de pages13
ISBN (imprimé)9783030255428
Les DOIs
étatPublié - 1 janv. 2019
Modification externeOui
Evénement31st International Conference on Computer Aided Verification, CAV 2019 - New York City, États-Unis
Durée: 15 juil. 201918 juil. 2019

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11562 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence31st International Conference on Computer Aided Verification, CAV 2019
Pays/TerritoireÉtats-Unis
La villeNew York City
période15/07/1918/07/19

Empreinte digitale

Examiner les sujets de recherche de « Violat: Generating tests of observational refinement for concurrent objects ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation