Apparatus and methods for restoring synchronization to object-oriented software applications in managed runtime environments
Abstract
An example apparatus and method described herein involves determining if a class object has been dynamically loaded, performing an escape analysis on the program code and determining if assumptions made during an initial escape analysis are valid. Additionally, the example apparatus and method restore synchronization to at least a portion of the program code affected by loading of the class object if the assumptions made during the initial escape analysis are no longer valid.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 19.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of restoring synchronization to program code comprising: determining if a class object has been dynamically loaded; determining if the class object was desynchronized; determining if the desynchronized class object includes a runtime contention; restoring synchronization to at least a portion of the program code via replacing the at least a portion of the program code with an original portion of the class object, restoring synchronization further comprising: performing lock/unlock compensation for an execution thread associated with the at least the portion of the program code; and su
- Claim 2Depends on #1
A method as defined in claim 1 , wherein the runtime contention is associated with at least one object that is accessible to only one execution thread at a particula
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 19 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- "Effective synchronization removal for Java", E. Ruf, Dec. 2000, pp. 208-218. Online retrieved at .
- "Escape analysis for object-oriented languages: application to Java", B. Blanchet, Dec. 1999, pp. 1-15. Online retrieved at .
- Bogda, J; Holzle, U. "Removing Unnecessary Synchronization in Java." Proceedings of the 14th Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications. Denver, CO, Nov. 1999. pp. 35-46.
- Choi, J; Gupta, M; Serrano, M; Sreedhar, V; Midkiff, S. "Escape Analysis for Java." Proceedings of the 1999 ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications. Denver, CO, Nov. 1999. pp. 1-19.
- International Search Report, Dec. 10, 2004, 3 sheets.