Invention Grant
- Patent Title: Transparent code patching including updating of address translation structures
- Patent Title (中): 透明代码修补,包括更新地址转换结构
-
Application No.: US14484465Application Date: 2014-09-12
-
Publication No.: US09244854B2Publication Date: 2016-01-26
- Inventor: Michael K. Gschwind
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Heslin Rothenberg Farley & Mesiti P.C.
- Agent Steven L. Bennett, Esq.; Blanche E. Schiller, Esq.
- Main IPC: G06F11/10
- IPC: G06F11/10 ; G06F12/10 ; G06F9/45

Abstract:
Code to be modified is identified and modified by a dynamic code optimizer (DCO) or other 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.
Public/Granted literature
- US20150278106A1 TRANSPARENT CODE PATCHING INCLUDING UPDATING OF ADDRESS TRANSLATION STRUCTURES Public/Granted day:2015-10-01
Information query