共 50 条
Library-Independent Data Race Detection
被引:8
|作者:
Jannesari, Ali
[1
,2
]
Tichy, Walter F.
[3
]
机构:
[1] German Res Sch Simulat Sci, Multicore Programming Grp, Aachen, Germany
[2] Rhein Westfal TH Aachen, Aachen, Germany
[3] Karlsruhe Inst Technol, D-76021 Karlsruhe, Germany
关键词:
Parallel programming;
parallelization libraries;
ad hoc synchronization;
synchronization primitives;
dynamic analysis;
data race detection;
debugging;
multicore;
D O I:
10.1109/TPDS.2013.209
中图分类号:
TP301 [理论、方法];
学科分类号:
081202 ;
摘要:
Data races are a common problem on shared-memory parallel computers, including multicores. Analysis programs called race detectors help find and eliminate them. However, current race detectors are geared for specific concurrency libraries. When programmers use libraries unknown to a given detector, the detector becomes useless or requires extensive reprogramming. We introduce a new synchronization detection mechanism that is independent of concurrency libraries. It dynamically detects synchronization constructs based on a characteristic code pattern. The approach is non-intrusive and applicable to various concurrency libraries. Experimental results confirm that the approach identifies synchronizations and detects data races regardless of the concurrency libraries involved. With this mechanism, race detectors can be written once and need not be adapted to particular libraries.
引用
收藏
页码:2606 / 2616
页数:11
相关论文