Projects per year
Abstract
Dynamic hybrid data race detectors alleviate the detection imprecision problem incurred by pure lockset-based race detectors and the thread interleaving sensitive problem incurred by pure happens-before race detectors. Nonetheless, to ensure at least one data race on every memory location to be detected, keeping all historical memory access events in the analysis state of such a detector is impractical. Existing complete hybrid race detectors perform extensive comparisons among the locksets of the memory accesses on each memory location to identify which of them to be retained in its analysis state, which incurs significant runtime overhead. In this paper, we investigate to what extent a complete hybrid data race detector able to perform such identifications without lockset comparison. We present HistLock+, which is built atop thread epoch and lock release events to infer whether two memory accesses on the same memory location from the same thread in between consecutive lock release operations have any lock subset relation without performing expensive lockset comparison. HistLock+ guarantees exactly one racy memory access event to be reported on each thread segment separated by lock releases and hard-order thread synchronizations, and it never reports false positive on lockset violation. We have validated HistLock+ using the PARSEC benchmark suite and four real-world applications. The experimental results showed that HistLock+ was 122% faster and 28% more memory-efficient than the previous state-of-the-art complete hybrid race detector. Moreover, HistLock+ achieved the highest effectiveness in race detection among all evaluated race detectors in our experiment.
| Original language | English |
|---|---|
| Pages (from-to) | 786-801 |
| Journal | IEEE Transactions on Reliability |
| Volume | 67 |
| Issue number | 3 |
| Online published | 6 Aug 2018 |
| DOIs | |
| Publication status | Published - Sept 2018 |
Research Keywords
- Benchmark testing
- Data race detection
- Detectors
- dynamic analysis
- hidden races
- Instruction sets
- Maintenance engineering
- Memory management
- Message systems
- multithreaded programs
- Runtime
- testing
Fingerprint
Dive into the research topics of 'HistLock+: Precise Memory Access Maintenance Without Lockset Comparison for Complete Hybrid Data Race Detection'. Together they form a unique fingerprint.Projects
- 3 Finished
-
GRF: FAVOR: A Testing Framework for Detecting Atomicity ViOlations in ConcuRrent Traces
CHAN, W. K. (Principal Investigator / Project Coordinator) & Keung, J. W. (Co-Investigator)
1/01/17 → 17/06/21
Project: Research
-
GRF: X-LAMP: eXposing Latent Races in LArge-scale Multithreaded Programs
CHAN, W. K. (Principal Investigator / Project Coordinator)
1/01/16 → 8/06/20
Project: Research
-
GRF: LATTE: An Object-based OracLe Framework for LineArizbility Testing of Multi-threaded SoftwarE
CHAN, W. K. (Principal Investigator / Project Coordinator) & Yu, Y. T. (Co-Investigator)
1/01/15 → 10/06/19
Project: Research