IFRit: Interference-Free Regions for Dynamic Data-Race Detection

被引:64
|
作者
Effinger-Dean, Laura [1 ]
Lucia, Brandon [1 ]
Ceze, Luis [1 ]
Grossman, Dan [1 ]
Boehm, Hans-J [2 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
[2] HP Labs, Palo Alto, CA USA
基金
美国国家科学基金会;
关键词
Languages; Algorithms; Reliability; data-race detection; concurrency; interference-free regions; PROGRAMS;
D O I
10.1145/2398857.2384650
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a new algorithm for dynamic data-race detection. Our algorithm reports no false positives and runs on arbitrary C and C++ code. Unlike previous algorithms, we do not have to instrument every memory access or track a full happens-before relation. Our data-race detector, which we call IFRit, is based on a run-time abstraction called an interference-free region (IFR). An IFR is an interval of one thread's execution during which any write to a specific variable by a different thread is a data race. We insert instrumentation at compile time to monitor active IFRs at run-time. If the runtime observes overlapping IFRs for conflicting accesses to the same variable in two different threads, it reports a race. The static analysis aggregates information for multiple accesses to the same variable, avoiding the expense of having to instrument every memory access in the program. We directly compare IFRit to FastTrack [10] and Thread-Sanitizer [25], two state-of-the-art fully-precise data-race detectors. We show that IFRit imposes a fraction of the overhead of these detectors. We show that for the PARSEC benchmarks, and several real-world applications, IFRit finds many of the races detected by a fully-precise detector. We also demonstrate that sampling can further reduce IFRit's performance overhead without completely forfeiting precision.
引用
收藏
页码:467 / 483
页数:17
相关论文
共 50 条
  • [31] Microfluidic electrochemical device for real-time culturing and interference-free detection of Escherichia coli
    Fande, Sonal
    Amreen, Khairunnisa
    Sriram, D.
    Goel, Sanket
    [J]. ANALYTICA CHIMICA ACTA, 2023, 1237
  • [32] Interference-Free Detection of Genetic Biomarkers Using Synthetic Dipole-Facilitated Nanopore Dielectrophoresis
    Tian, Kai
    Decker, Karl
    Aksimentiev, Aleksei
    Gu, Li-Qun
    [J]. ACS NANO, 2017, 11 (02) : 1204 - 1213
  • [33] Eigendecomposition-Based GFDM for Interference-Free Data Transmission and Pilot Insertion for Channel Estimation
    Jeong, Jinkyo
    Park, Yosub
    Weon, Sungwoo
    Kim, Jintae
    Choi, Sooyong
    Hong, Daesik
    [J]. IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2018, 17 (10) : 6931 - 6943
  • [34] Novel Amperometric Biosensor Based on Tyrosinase/Chitosan Nanoparticles for Sensitive and Interference-Free Detection of Total Catecholamine
    Gigli, Valeria
    Tortolini, Cristina
    Capecchi, Eliana
    Angeloni, Antonio
    Lenzi, Andrea
    Antiochia, Riccarda
    [J]. BIOSENSORS-BASEL, 2022, 12 (07):
  • [35] Highly Sensitive and Interference-Free Electrochemical Nitrite Detection in a 3D Printed Miniaturized Device
    Pal, Abhishesh
    Amreen, Khairunnisa
    Dubey, Satish Kumar
    Goel, Sanket
    [J]. IEEE TRANSACTIONS ON NANOBIOSCIENCE, 2021, 20 (02) : 175 - 182
  • [36] A nitrile-mediated SERS aptasensor coupled with magnetic separation for optical interference-free detection of atrazine
    Wei, Xiaoou
    Sun, Yue
    Liu, Chao
    Li, Zhihua
    Zou, Xiaobo
    Zhang, Di
    Zhang, Wen
    Shi, Jiyong
    Huang, Xiaowei
    Li, Yanxiao
    [J]. SENSORS AND ACTUATORS B-CHEMICAL, 2021, 329
  • [37] High-Efficiency, Matrix Interference-Free, General Applicable Probes for Bile Acids Extraction and Detection
    Huang, Shuyao
    Zheng, Jiating
    Yang, Qian
    Chen, Guosheng
    Xu, Jianqiao
    Shen, Yong
    Zhang, Yimin
    Ouyang, Gangfeng
    [J]. ADVANCED SCIENCE, 2018, 5 (12)
  • [38] Simultaneous and Interference-Free Detection of Hydroquinone and Catechol on Poly (Evans Blue)-Modified Glassy Carbon Electrode
    Ge, Chuang-ye
    Rahman, Md. Mahbubur
    Li, Xiao-bo
    Lee, Jae-Joon
    [J]. JOURNAL OF THE ELECTROCHEMICAL SOCIETY, 2016, 163 (10) : B556 - B562
  • [39] Dual-channel method for interference-free in-channel amperometric detection in microchip capillary electrophoresis
    Chen, Chuanpin
    Hahn, Jong Hoon
    [J]. ANALYTICAL CHEMISTRY, 2007, 79 (18) : 7182 - 7186
  • [40] User-Guided Dynamic Data Race Detection
    Markus Metzger
    Xinmin Tian
    Walfred Tedeschi
    [J]. International Journal of Parallel Programming, 2015, 43 : 159 - 179