Efficient Detection of Determinacy Races in Cilk Programs

被引:0
|
作者
M. Feng
C. E. Leiserson
机构
[1] School of Computing,
[2] National University of Singapore,undefined
[3] 10 Lower Kent Ridge Road,undefined
[4] Republic of Singapore 119260 fengmd@nus.edu.sg ,undefined
[5] MIT Laboratory for Computer Science,undefined
[6] 545 Technology Square,undefined
[7] Cambridge,undefined
[8] MA 02139,undefined
[9] USA cel@mit.edu,undefined
来源
关键词
Execution Time; Programming Language; Shared Memory; Directed Acyclic Graph; Efficient Detection;
D O I
暂无
中图分类号
学科分类号
摘要
A parallel multithreaded program that is ostensibly deterministic may nevertheless behave nondeterministically due to bugs in the code. These bugs are called determinacy races, and they result when one thread updates a location in shared memory while another thread is concurrently accessing the location. We have implemented a provably efficient determinacy-race detector for Cilk, an algorithmic multithreaded programming language. If a Cilk program is run on a given input data set, our debugging tool, which we call the ``Nondeterminator,'' either determines at least one location in the program that is subject to a determinacy race, or else it certifies that the program is race free when run on the data set.
引用
收藏
页码:301 / 326
页数:25
相关论文
共 50 条
  • [1] Efficient detection of determinacy races in Cilk programs
    Feng, M
    Leiserson, CE
    THEORY OF COMPUTING SYSTEMS, 1999, 32 (03) : 301 - 326
  • [2] Efficient detection of determinacy races in Cilk programs
    School of Computing, National University of Singapore, 10 Lower Kent Ridge Road, Singapore 119260, Singapore
    不详
    Theory Comput. Syst., 3 (301-326):
  • [3] Efficiently Detecting Races in Cilk Programs That Use Reducer Hyperobjects
    Lee, I-Ting Angelina
    Schardl, Tao B.
    SPAA'15: PROCEEDINGS OF THE 27TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2015, : 111 - 122
  • [4] Cilk: An Efficient Multithreaded Runtime System
    Blumofe, R. D.
    Joerg, C. F.
    Kuszmaul, B. C.
    Leiserson, C. E.
    Journal of Parallel and Distributed Computing, 37 (01):
  • [5] Dynamic Determinacy Race Detection for Task-Parallel Programs with Promises
    Jin, Feiyang
    Yu, Lechen
    Cogumbreiro, Tiago
    Shirako, Jun
    Sarkar, Vivek
    Leibniz International Proceedings in Informatics, LIPIcs, 2023, 263
  • [6] Detecting determinacy in prolog programs
    King, Andy
    Lu, Lunjin
    Genaim, Samir
    LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 132 - 147
  • [7] CILK - AN EFFICIENT MULTITHREADED RUNTIME SYSTEM
    BLUMOFE, RD
    JOERG, CF
    KUSZMAUL, BC
    LEISERSON, CE
    RANDALL, KH
    ZHOU, YL
    SIGPLAN NOTICES, 1995, 30 (08): : 207 - 216
  • [8] Determinacy inference for logic programs
    Lu, LJ
    King, A
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3444 : 108 - 123
  • [9] Cilk: An efficient multithreaded runtime system
    Blumofe, RD
    Joerg, CF
    Kuszmaul, BC
    Leiserson, CE
    Randall, KH
    Zhou, YL
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1996, 37 (01) : 55 - 69
  • [10] Efficient Runtime Detection and Toleration of Asymmetric Races
    Ratanaworabhan, Paruj
    Burtscher, Martin
    Kirovski, Darko
    Zorn, Benjamin
    Nagpal, Rahul
    Pattabiraman, Karthik
    IEEE TRANSACTIONS ON COMPUTERS, 2012, 61 (04) : 548 - 562