Converting program code with access coordination for a shared memory
Abstract
A dynamic binary translator 19 converts a subject program 17 into target code 21 on a target processor 13 . For a multi-threaded subject environment, the translator 19 provides a global token 501 common to each thread 171, 172 , and one or more sets of local data 502 , which together are employed to coordinate access to a memory 18 as a shared resource. Adjusting the global token 501 allows the local datastructures 502 a,b in each thread to detect potential interference with the shared resource 18.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of providing an access coordination mechanism of a shared resource, comprising: (a) providing a plurality of local datastructures each associated with one of the multiple subject threads, and a global token common to each of the subject threads, wherein the multiple subject threads are executable on a subject processor, corresponding to a first processor type; (b) decoding the subject code to identify a subject setting instruction which sets a subject access coordination mechanism in relation to a shared resource, and a subject checking instruction which checks the subject access coor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- "Deterministic Replay of Java Multithreaded Applications", Choi et al., 1998, 12 pages, .
- "Message caching for local and global resource optimization in shared virtual environments", Trefftz et al., Oct. 2000, pp. 97-102, .
- "Modeling Shared Resource Contention Using a Hybrid Simulation/Analytical Approach", Bobrek et al., Feb. 2004, 6 pages, .
- “Deterministic Replay of Java Multithreaded Applications”, Choi et al., 1998, 12 pages, <portal.acm.org/citation.cfm?id=281041>.
- “Message caching for local and global resource optimization in shared virtual environments”, Trefftz et al., Oct. 2000, pp. 97-102, <http://delivery.acm.org/10.1145/510000/502409/p97-trefftz.pdf>.