Patents
US 12,379,974 B2#143553637 Most CitedActiveUnited States (USPTO)Utility

Data race detection with per-thread memory protection

0Forward Citations (#143553637 Global)
0.0/yrCitation Velocity (#143553637 Global)
0.56Citation PageRank (#143553637 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

PatentTitleYearCitations
US 2003115476 A1Hardware-enforced control of access to memory within a computer using hardware-enforced semaphores and other similar, hardware-enforced serialization and sequencing mechanisms—135
US 2005246505 A1Efficient sharing of memory between applications running under different operating systems on a shared hardware system—89
US 2005283781 A1Detecting data races in multithreaded computer programs—64
US 2006271938 A1Memory mapped lazy preemption control—15
US 2007186215 A1Concurrent Execution of Critical Sections by Eliding Ownership of Locks—33
US 2009199162 A1Method and apparatus for efficient and precise datarace detection for multithreaded object-oriented programs—21
US 2010100690 A1System to reduce interference in concurrent programs—20
US 2010107167 A1Multi-core soc synchronization component—2
US 7,870,545 B2Protecting shared variables in a software transactional memory system201117
US 7,899,997 B2Systems and methods for implementing key-based transactional memory conflict detection20114
US 2011246993 A1System and Method for Executing a Transaction Using Parallel Co-Transactions—53
WO 2012/101538 A1Emulation of strongly ordered memory models—4
US 2013042080 A1Prevention of race conditions in library code through memory page-fault handling mechanisms—10
US 2013290583 A1System and Method for NUMA-Aware Locking Using Lock Cohorts—50
US 2013290967 A1System and Method for Implementing NUMA-Aware Reader-Writer Locks—90
US 2014289839 A1Resource control method and apparatus—32
US 9,135,082 B1Techniques and systems for data race detection201518
US 2016246641 A1Fine-grained Hardware Transactional Lock Elision—18
US 2016364315 A1Fast data race detection for multicore systems—11
US 9,524,196 B2Adaptive process for data sharing with selection of lock elision and locking20162
US 2017286326 A1Memory protection at a thread level for a memory protection key architecture—23
US 2018060244 A1CPU Security Mechanisms Employing Thread-Specific Protection Domains—15
US 2019377694 A1Fine grained memory and heap management for sharable entities across coordinating participants in database environment—16
US 2020014688 A1Data processing unit with key value store—24
US 2021191788 A1Systems and methods for safely subscribing to locks using hardware extensions—4

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.