Methods and apparatus to manage speculative execution of object locks by diverting the speculative execution of target code
Abstract
Example methods and apparatus to manage object locks are disclosed. A disclosed example method includes intercepting a processor request to apply the lock on the object, identifying a performance history of the object based on a number of instances of contention, reducing computing resources of the processor by, when the number of instances is below a threshold value, generating a lock bypass for the object to cause speculative execution of target code within the object, and preventing speculative execution by applying the lock on the object when the number of instances is above the threshold value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to control a lock of an object, comprising: intercepting, by executing an instruction with a processor, a request to apply the lock on the object; identifying, by executing an instruction with the processor, a performance history of the object based on a number of instances of contention; reducing computing resources of the processor by, when the number of instances satisfies a threshold: generating, by executing an instruction with the processor, a lock bypass for the object to cause speculative execution of target code within the object; and reducing, by executing an instruction wit
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,262,991 B1 | Thread-safe development in a multi-threaded system | 2022 | 0 |
References Cited — Backward Prior Art (39)
Non-Patent Literature (5)
- Bacon et al., "Thin Locks: Featherweight Synchronization for Java," Nov. 16, 2005, (25 pages).
- BEAJRrockit, "Using the BEAJRockit Runtime Analyzer," BEA Systems, Inc., Jun. 2005 (38 pages).
- Blanchet, "Escape Analysis for Object Oriented Languages: Application to Java," Dec. 1999, retrieved from delivery.acm.org/10.1145/330000/320387/p20-blanchet.pdf>, (15 pages).
- Bogda et al., "Removing Unnecessary Synchronization in Java," Proceedings of the 14th Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications, Denver, CO, Nov. 1, 1999, (12 pages).
- Carter, "PC Assembly Language," retrieved from drpaulcarter.com/pcasm/pcasm-book.pdt.gz>, Jul. 23, 2006 (195 pages).