Generation of suggestions to correct data race errors
Abstract
A method of removing a first data race condition by generating a list of suggested solutions is provided. The method comprises detecting the first data race condition involving a shared resource that is accessed first by a first thread and then by a second thread; suggesting one or more solutions using a lockset mechanism; suggesting one or more solutions using a vector clock mechanism; suggesting that a user create a new synchronization object; suggesting that a user replicate the shared resource; and displaying the list to the user.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of correcting a first data race condition, the method comprising: detecting, in a computer, the first data race condition, encountered by the computer executing a program, involving a shared resource that is accessed by a first thread and a second thread, wherein the first thread accesses the shared resource before the second thread; generating a list of context-specific suggestions, specific to the context of the data race condition, for removing the data race condition, wherein the list comprises a suggestion that the first thread acquire at least a first lock synchronization object
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,354,130 B1 | Efficient race-condition detection | 2022 | 2 |
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- O'Callahan et al. "Hybrid Dynamic Data Race Detection" IBM T.J. Watson Research Center ACM Jun. 11-13, 2003, San Diego, CA USA.
- Yu et al. "Race Track: Efficient Detection of Data Race Conditions via Adaptive Tracking" SOSP'05, Oct. 23-26, 2005, Brighton, United Kingdom. Copyright 2005 ACM 1-59593-079-5/05/0010.