Method and apparatus for critical section prediction for intelligent lock elision
Abstract
Intelligent prediction of critical sections is implemented using a method comprising updating a critical section estimator based on historical analysis of atomic/store instruction pairs during runtime and performing lock elision when the critical section estimator indicates that the atomic/store instruction pairs define a critical section.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 56.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for predicting critical sections, the method comprising: updating a critical section estimator based on historical analysis of atomic/store instruction pairs during runtime, the atomic/store instruction referring to a memory location, the memory location of the atomic/store instruction used to obtain a value within the memory location, wherein the updating is based on a match entry found in a first table for a memory address corresponding to the memory location and the value in the memory location of the atomic/store instruction and wherein the critical section es
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 56 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Kue-Hwan Sihn, Joonwon Lee, Jung-Wan Cho; A Speculative Coherence Scheme using Decoupling Synchronization for Multiprocessor Systems; pp. 1-4; IEEE 2003.
- Rajwar, et al., "Speculative Lock Elision: Enabling Highly Concurrent Multithreaded Execution", The Proceedings of the 34th International Symposium on Microarchitecture (MICRO), Dec. 3-5, 2001.
- Ravi Rajwar; Speculation-Based Techniques for Transactional Lock-Free Execution of Lock-Based Programs; University of Wisconsin-Madison 2002; pp. 1-209.