Data race detection with per-thread memory protection
Abstract
Data race detection in multi-threaded programs can be achieved by leveraging per-thread memory protection technology in conjunction with a custom dynamic memory allocator to protect shared memory objects with unique memory protection keys, allowing data races to be turned into inter-thread memory access violations. Threads may acquire or release the keys used for accessing protected memory objects at the entry and exit points of critical sections within the program. An attempt by a thread to access a protected memory object within a critical section without the associated key triggers a protection fault, which may be indicative of a data race.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for data race detection during execution of a multi-threaded program comprising one or more critical sections, the method using a set of access keys available to protect memory objects in the one or more critical sections, wherein each memory object is protected by only one of the access keys at a time, the method comprising: maintaining, in one or more machine-readable media, a first subset of the set of access keys, the first subset consisting of access keys currently not held by any of multiple threads and thus available for acquisition; maintaining, in the one or more machine-read
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (25)
Non-Patent Literature (4)
- “Decision to Grant Issued in European Patent Application No. 20829276.3”, Mailed Date: Aug. 10, 2023, 02 Pages.
- “Notice of Allowance Issued in European Patent Application No. 20829276.3”, Mailed Date: May 17, 2023, 8 Pages.
- Communication pursuant to Rules 70(2) and 70a(2) EPC and reference to Rule 39(1) received in European Application No. 23185246.8, mailed on Jan. 22, 2024, 2 pages.
- European Search Report received for EP Application No. 23185246.8, mailed on Dec. 15, 2023, 9 pages.