Transparent code patching including updating of address translation structures
Abstract
Code is modified by an optimizer executing in the same or different address space as the application being modified. The modified code is stored in memory regions separate from the memory regions of the unmodified or pre-existing code. This allows instruction fetches by the application to access the modified code, while data accesses by the application access the unmodified code. An optimizer may also access the code, but accesses by the optimizer are considered data accesses, and therefore, such accesses would be to the unmodified code, instead of the modified code. Thus, an address mapping capability is provided in which the optimizer may access the modified code by having multiple addresses point to the same physical memory location. One address is used by the application in an instruction fetch and the other address is used by the optimizer in a data access to access the modified code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product for facilitating processing within a computing environment, said computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: obtaining, by a processor, an address translation mapping, wherein the address translation mapping comprises: a first address to be translated to a second address, the first address being of a first type and the second address being of a second type, the second address of the second typ
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- "MMU/SLB/TLB/ERAT"; http://seniordesign,engr.uidaho.edu/2008-2009/hot-threads/docs/TajResearch.docx, pp. 1-7, downloaded from internet Feb. 26, 2014 (no additional date information available).
- "z/Architecture-Principles of Operation," IBM Publication No. SA22-7932-09, 10th Edition, Sep. 2012, pp. 1-1568.
- Gschwind, M., E.R. Altman, "Precise Exception Semantics in Dynamic Compilation," 2002 Symposium on Compiler Construction (CC 2002), Grenoble, France, Apr. 2002, 15 pages.
- Hutchinson, Luke, "Memory Address Translation," http://www.altdevblogaday.com/2011/07/24/memory-address-translation/, downloaded from internet Mar. 6, 2014, pp. 1-8.
- Intel ltanium Architecture Software Developer's Manual Volume 2: System Architecture, Document No. 245318-005, Jan. 2006, pp. 1-654.