Lune

ICSE2024顶会

Optimistic Prediction of Synchronization-Reversal Data Races

Zheng Shi, Umang Mathur, Andreas Pavlogiannis

摘要

Dynamic data race detection has emerged as a key technique for ensuring reliability of concurrent software in practice. However, dynamic approaches can often miss data races owing to nondeterminism in the thread scheduler. Predictive race detection techniques cater to this shortcoming by inferring alternate executions that may expose data races without re-executing the underlying program. More formally, the dynamic data race prediction problem asks, given a trace 𝜎 of an execution of a concurrent program, can 𝜎 be correctly reordered to expose a data race? Existing state-of-the art techniques for data race prediction either do not scale to executions arising from real world concurrent software, or only expose a limited class of data races, such as those that can be exposed without reversing the order of synchronization operations. In general, exposing data races by reasoning about synchronization reversals is an intractable problem. In this work, we identify a class of data races, called Optimistic Sync(hronization)-Reversal races that can be detected in a tractable manner and often include non-trivial data races that cannot be exposed by prior tractable techniques. We also propose a sound algorithm OSR for detecting all optimistic sync-reversal data races in overall quadratic time, and show that the algorithm is optimal by establishing a matching lower bound. Our experiments demonstrate the effectiveness of OSRon our extensive suite of benchmarks, OSR reports the largest number of data races, and scales well to large execution traces.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CSSTs: A Dynamic Data Structure for Partial Orders in Concurrent Execution Analysis 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Krace: Data Race Fuzzing for Kernel File Systems 引用了 Razzer: Finding Kernel Race Bugs through Fuzzing
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Predictive Monitoring with Strong Trace Prefixes 引用了 Optimal prediction of synchronization-preserving races
  • Selectively Uniform Concurrency Testing 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Selectively Uniform Concurrency Testing 引用了 Optimal prediction of synchronization-preserving races
  • Optimal prediction of synchronization-preserving races 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Fast, sound, and effectively complete dynamic race prediction
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 Optimal prediction of synchronization-preserving races
  • Efficient Decrease-and-Conquer Linearizability Monitoring 引用了 The Complexity of Testing Message-Passing Concurrency
  • The Complexity of Testing Message-Passing Concurrency 引用了 Efficient Decrease-and-Conquer Linearizability Monitoring
  • The Complexity of Testing Message-Passing Concurrency 引用了 CSSTs: A Dynamic Data Structure for Partial Orders in Concurrent Execution Analysis
  • The Complexity of Testing Message-Passing Concurrency 引用了 Fast, sound, and effectively complete dynamic race prediction
  • The Complexity of Testing Message-Passing Concurrency 引用了 Predictive Monitoring with Strong Trace Prefixes
  • The Complexity of Testing Message-Passing Concurrency 引用了 Optimal prediction of synchronization-preserving races
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. CSSTs: A Dynamic Data Structure for Partial Orders in Concurrent Execution AnalysisHünkar Can Tunç, Ameya Prashant Deshmukh, Berk Çirisci, Constantin Enea 等ASPLOS 2024 · 6 次引用
  2. Selectively Uniform Concurrency TestingHuan Zhao, Dylan Wolff, Umang Mathur, Abhik RoychoudhuryASPLOS 2025 · 4 次引用
  3. Predictive Monitoring with Strong Trace PrefixesZhendong Ang, Umang MathurCAV 2024 · 3 次引用
  4. Efficient Decrease-and-Conquer Linearizability MonitoringLee Zheng Han, Umang MathurOOPSLA 2025 · 2 次引用
  5. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 次引用

它引用的 Paper17

  1. Razzer: Finding Kernel Race Bugs through FuzzingDae R. Jeong, Kyungtae Kim, Basavesh Shivakumar, Byoungyoung Lee 等S&P 2019 · 202 次引用
  2. Krace: Data Race Fuzzing for Kernel File SystemsMeng Xu, Sanidhya Kashyap, Hanqing Zhao, Taesoo KimS&P 2020 · 131 次引用
  3. Fast, sound, and effectively complete dynamic race predictionAndreas PavlogiannisPOPL 2020 · 46 次引用
  4. VSync: push-button verification and optimization for synchronization primitives on weak memory modelsJonas Oberhauser, Rafael Lourenco de Lima Chehab, Diogo Behrens, Ming Fu 等ASPLOS 2021 · 40 次引用
  5. Optimal prediction of synchronization-preserving racesUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPOPL 2021 · 36 次引用

相关 Paper

  1. The Complexity of Dynamic Data Race PredictionUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanLICS 2020 · 27 次引用
  2. SmartTrack: efficient predictive race detectionJake Roemer, Kaan Genç, Michael D. BondPLDI 2020 · 28 次引用
  3. Dynamic Race Detection with O(1) SamplesMosaad Al Thokair, Minjian Zhang, Umang Mathur, Mahesh ViswanathanPOPL 2023 · 9 次引用
  4. Sound Dynamic Deadlock Prediction in Linear TimeHünkar Can Tunç, Umang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPLDI 2023 · 15 次引用
  5. Efficient Timestamping for Sampling-Based Race DetectionMinjian Zhang, Daniel Wee Soong Lim, Mosaad Al Thokair, Umang Mathur 等PLDI 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖