Invention Grant
- Patent Title: Partitioning code in program code conversion
- Patent Title (中): 程序代码转换中的分区代码
-
Application No.: US10802309Application Date: 2004-03-17
-
Publication No.: US07934204B2Publication Date: 2011-04-26
- Inventor: Alex Brown , Paul Thomas Knowles , Geraint North
- Applicant: Alex Brown , Paul Thomas Knowles , Geraint North
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Greg Goshorn, P.C.
- Agent Matthew B. Talpis; Gregory K Goshorn
- Priority: GB0316532.1 20030715; GB0328121.9 20031209
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A partitioning technique utilized by a translator to divide the subject code space into regions, referred to hereafter as partitions, where each partition contains a distinct set of basic blocks of subject code and corresponding target code. The partitioning technique divides the translator's representation of subject code and subject code translations into non-overlapping regions of subject memory. In this manner, when the subject program modifies subject code, only those partitions actually affected by the self-modifying code need be discarded and all translations in unaffected partitions can be kept. This partitioning technique is advantageous in limiting the amount of target code that must be retranslated in response to self-modifying code operation. In another process, the partitioning technique allows multithreaded subject programs that also involve self-modifying code to perform code modification in a thread-safe manner.
Public/Granted literature
- US20050015756A1 Method and apparatus for partitioning code in program code conversion Public/Granted day:2005-01-20
Information query