发明名称 Method and apparatus for handling exceptions during binding to native code
摘要 A method of handling exceptions during native binding under program code conversion from subject code ( 17 ) executable by a subject computing architecture to target code ( 21 ) executable by a target computing architecture. Performing native binding executes a portion of native code ( 28 ) in place of translating a portion of the subject code ( 17 ) into the target code ( 21 ). When an exception occurs during the portion of native code ( 28 ), the method comprises saving a target state (T') which represents a current point of execution in the target computing architecture for the portion of native code ( 28 ), and creating a subject state (S') which represents an emulated point of execution in the subject computing architecture. The exception is handled through a subject exception handler ( 170, 170 ') with reference to the subject state (S'), such that, upon resuming execution from the exception using the provided subject state (S'), the saved target state (T') is restored to resume execution in the section of portion of native code ( 28 ). In one embodiment, the subject state (S') links to the saved target state (T') through a recovery unit ( 192 ).
申请公布号 GB2439443(B) 申请公布日期 2008.12.17
申请号 GB20070011837 申请日期 2007.06.19
申请人 TRANSITIVE LIMITED 发明人 GAVIN BARRACLOUGH;KIT MAN WAN;ABDUL RAHMAN HUMMAIDA
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址