Davida : A Decentralization Approach to Localizing Transaction Sequences for Debugging Transactional Atomicity Violations
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review
Author(s)
Related Research Unit(s)
Detail(s)
Original language | English |
---|---|
Pages (from-to) | 808-826 |
Number of pages | 19 |
Journal / Publication | IEEE Transactions on Reliability |
Volume | 72 |
Issue number | 2 |
Online published | 7 Jun 2022 |
Publication status | Published - Jun 2023 |
Link(s)
DOI | DOI |
---|---|
Attachment(s) | Documents
Publisher's Copyright Statement
|
Link to Scopus | https://www.scopus.com/record/display.uri?eid=2-s2.0-85131758130&origin=recordpage |
Permanent Link | https://scholars.cityu.edu.hk/en/publications/publication(0e8fb162-f276-4bbb-ac17-365b370555e1).html |
Abstract
Atomicity is a desirable property for multithreaded programs. In such programs, a transaction is an execution of an atomic code region that may contain memory accesses on an arbitrary number of shared variables. When transactions are not conflicting with one another in a trace, they greatly simplify the reasoning of the program correctness. If a transaction incurs an atomicity violation in a trace, developers have to debug the code, but this is challenging. To achieve practical runtime performances, existing dynamic techniques for detecting such atomicity violations face a challenge: They are designed for either detecting all such atomicity violations without the capability of localizing the corresponding cross-thread transaction sequences or deliberately missing some atomicity violations in the trade of localizing some of them to support their atomicity violation detection. In this article, we propose Davida, a novel technique to address this problem. Davida efficiently tracks selective transactions and cross-thread dependency sequences over transactions reachable from the currently active transactions of all the threads in a decentralized manner. We prove that Davida precisely accomplishes every atomicity violation in a trace with an actual sequence of transactions triggering the violation. The experimental results on 15 subjects showed that Davida outperformed Velodrome, the previous graph-based state-of-the-art technique, in both performance and completeness. © 2022 IEEE.
Research Area(s)
- Atomicity violation detection, decentralized approach, dynamic analysis, localization of transaction sequences
Citation Format(s)
Davida: A Decentralization Approach to Localizing Transaction Sequences for Debugging Transactional Atomicity Violations. / Ma, Xiaoxue; Ashraf, Imran; Chan, W. K.
In: IEEE Transactions on Reliability, Vol. 72, No. 2, 06.2023, p. 808-826.
In: IEEE Transactions on Reliability, Vol. 72, No. 2, 06.2023, p. 808-826.
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review
Download Statistics
No data available