User-Guided Dynamic Data Race Detection

被引:3
|
作者
Metzger, Markus [1 ]
Tian, Xinmin [1 ]
Tedeschi, Walfred [1 ]
机构
[1] Intel Corp, Ulm, Germany
关键词
Data race detection; Happens-before; Dynamic program analysis; Debugging;
D O I
10.1007/s10766-013-0296-z
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Multi-threaded programming is part of mainstream software development. It adds several issues not present on serial applications. Among the issues an important one is data races, i.e. the unsynchronized access of data by multiple threads. They are particularly hard to debug since they typically occur sporadically and often invisibly corrupt the internal state. Generally, the tool used to identify those kinds of issues is a data race analyzer. Due to the subtlety of data race bugs, the user at this point would already have tried to understand the problem using an application debugger. Debuggers offer a variety of features to analyze and modify the execution state of programs. Such features are typically not offered by data race analyzers. Integrating a data race analyzer into a debugger would improve the user workflow. This is usually prohibited by the huge performance overhead of a whole-program data race analysis. We propose in this work a method to reduce the overhead by allowing the user to define the scope of the analysis. A sufficiently narrow scope reduces the performance overhead to less than 5, thus allowing its integration into a debugger. Defining the analysis scope fits naturally into the debugger workflow of focusing on one problem at a time. The work here presented has been implemented in a commercial debugger product.
引用
收藏
页码:159 / 179
页数:21
相关论文
共 50 条
  • [21] Surface remeshing with robust user-guided segmentation
    Khan D.
    Yan D.-M.
    Ding F.
    Zhuang Y.
    Zhang X.
    Computational Visual Media, 2018, 4 (2) : 113 - 122
  • [22] A Novel User-Guided Interface for Robot Search
    Kosti, Shahar
    Sarne, David
    Kaminka, Gal A.
    2014 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS 2014), 2014, : 3305 - 3310
  • [23] USER-GUIDED UNITS MODELED WITH PETRI NETWORKS
    GERHARD, E
    F&M-FEINWERKTECHNIK & MESSTECHNIK, 1990, 98 (04): : 151 - 154
  • [24] Relations, Cards, and Search Templates: User-Guided Web Data Integration and Layout
    Dontcheva, Mira
    Drucker, Steven M.
    Salesin, David
    Cohen, Michael F.
    UIST 2007: PROCEEDINGS OF THE 20TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2007, : 61 - +
  • [25] Towards Effective User-Guided Robot Search
    Kosti, Shahar
    Kaminka, Gal A.
    Sarne, David
    AAMAS'14: PROCEEDINGS OF THE 2014 INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS & MULTIAGENT SYSTEMS, 2014, : 1415 - 1416
  • [26] User-Guided Machine Understanding of Legal Documents
    Purnell, Kevin
    Schwitter, Rolf
    NEW FRONTIERS IN ARTIFICIAL INTELLIGENCE, JSAI-ISAI 2021 WORKSHOPS, JURISIN 2021, LENLS18, SCIDOCA 2021, KANSEI-AI 2021, AND AI-BIZ 2021, 2023, 13856 : 16 - 32
  • [27] Surface remeshing with robust user-guided segmentation
    Dawar Khan
    Dong-Ming Yan
    Fan Ding
    Yixin Zhuang
    Xiaopeng Zhang
    Computational Visual Media, 2018, 4 (02) : 113 - 122
  • [28] An Empirical Application of User-Guided Program Analysis
    Wang Jigang
    Cheng Shengyu
    Cao Jicheng
    He Meihua
    ChinaCommunications, 2024, 21 (07) : 325 - 333
  • [29] On-demand integration of cross-organizational data in a user-guided way
    Wen, Yan
    Liu, Chen
    Han, Yanbo
    Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 2013, 47 (02): : 116 - 123
  • [30] User-Guided Program Reasoning using Bayesian Inference
    Raghothaman, Mukund
    Kulkarni, Sulekha
    Heo, Kihong
    Naik, Mayur
    ACM SIGPLAN NOTICES, 2018, 53 (04) : 722 - 735