发明名称 Method and apparatus for handling asynchronous exceptions in a dynamic translation system
摘要 A method and apparatus for handling asynchronous exceptions in a dynamic translation system. In accordance with the present invention, the dynamic translation system utilizes an interpreter to determine when a point in the translated code has been reached at which application state is recoverable. When an asynchronous event occurs, execution of translated instructions in hardware is halted and control is transferred to the interpreter at the point at which the exception occurred during the translation. The interpreter then executes the translated code from the point of interruption and checks for a guaranteed application state recoverable point, or GAR point, at the end of each instruction or block of instructions. Once a GAR point is reached, control is transferred to an asynchronous exception handler. Since control is only transferred to the interpreter once an asynchronous exception has occurred, overhead relating to the handling of asynchronous exceptions is only incurred when an asynchronous exception is actually pending.
申请公布号 US6308318(B2) 申请公布日期 2001.10.23
申请号 US19980167284 申请日期 1998.10.07
申请人 HEWLETT-PACKARD COMPANY 发明人 KRISHNASWAMY UMESH
分类号 G06F9/46;(IPC1-7):G06F9/45 主分类号 G06F9/46
代理机构 代理人
主权项
地址
您可能感兴趣的专利