Method and apparatus for handling asynchronous exceptions in a dynamic translation system
AssigneeHewlett-Packard Company
InventorUmesh Krishnaswamy
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorUmesh Krishnaswamy
Estimating the term…
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.
A dynamic translation system comprising:
A dynamic translation system comprising:
A method for dynamically translating input code into output code, the method comprising the steps of:
Dependencies are inferred from the claim text.