Thread synchronization methods and apparatus for managed run-time environments
Abstract
A example method disclosed herein comprises initiating a first optimistically balanced synchronization to acquire a lock of an object, the first optimistically balanced synchronization comprising a first optimistically balanced acquisition and a first optimistically balanced release to be performed on the lock by a same thread and at a same nesting level, releasing the lock after execution of program code covered by the lock if a stored state of the first optimistically balanced release indicates that the first optimistically balanced release is still valid, the stored state of the first optimistically balanced release being initialized prior to execution of the program code to indicate that the first optimistically balanced release is valid, and throwing an exception after execution of the program code covered by the lock if the stored state of the first optimistically balanced release indicates that the first optimistically balanced release is no longer valid.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to perform optimistically balanced synchronization in a managed run-time environment, the method comprising: initiating a first optimistically balanced synchronization to acquire a lock of an object, the first optimistically balanced synchronization comprising a first optimistically balanced acquisition and a first optimistically balanced release to be performed on the lock by a same thread and at a same nesting level; releasing the lock after execution of program code covered by the lock if a stored state of the first optimistically balanced release indicates that the first optimisti
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 (19)
Non-Patent Literature (5)
- Bacon et al., "Thin Locks: Featherweight Synchronization for Java," pp. 258-268, Conference on Programming Language Design and Implementation, Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementation, held in Montreal, Canada, in May 1998 (11 pages).
- Croi et al., "Escape Analysis for Java," pp. 1-19, vol. 34, Issue 10, ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications, held in Denver, United States, on Nov. 1, 1999 (19 pages).
- Kawachiya et al., "Lock Reservation: Java Locks Can Mostly Do Without Atomic Operations," pp. 130-141, vol. 37, Issue 11, ACM SIGPLAN Notices, held in Seattle, United States, on Nov. 4-8, 2002 (12 pages).
- Mason, Kenneth, "Fast Recursive Locking in," vol. 433, No. 103, Research Disclosure, International Business Machines Corporation, May 2000 (1 page).
- Patent Cooperation Treaty, "International Preliminary Report on Patentability," issued in connection with PCT application No. PCT/US2004/026518, mailed Dec. 14, 2006 (7 pages).