Invention Grant
US08458674B2 Method and apparatus for handling exceptions during binding to native code
有权
在绑定到本地代码期间处理异常的方法和装置
- Patent Title: Method and apparatus for handling exceptions during binding to native code
- Patent Title (中): 在绑定到本地代码期间处理异常的方法和装置
-
Application No.: US11820480Application Date: 2007-06-19
-
Publication No.: US08458674B2Publication Date: 2013-06-04
- Inventor: Gavin Barraclough , Kit Man Wan , Abdul Rahman Hummaida
- Applicant: Gavin Barraclough , Kit Man Wan , Abdul Rahman Hummaida
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent James L. Baudino; Matthew B. Talpis
- Priority: GB0612149.5 20060620
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
A target computing system performs program code conversion from subject code, executable by a subject computing architecture, into target code executable by the target computing system, and then executes the target code. The target system handles exceptions during binding to native code. Native code binding executes a portion of native code in place of translating a portion of the subject code into the target code. Upon an exception during execution of the portion of native code, the target system saves a target state representing a current point of execution for the portion of native code, and creates a subject state representing an emulated point of execution in the subject architecture. A subject exception handler handles the exception with reference to the subject state. Upon resuming execution from the exception using the subject state, the saved target state is restored to resume execution in the section of portion of native code.
Public/Granted literature
- US20080005724A1 Method and apparatus for handling exceptions during binding to native code Public/Granted day:2008-01-03
Information query