Method, system, and apparatus to minimize exception handling overhead from invoked functions
US6738976B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 17, 1999 |
| Grant date | May 18, 2004 |
| Priority date | — |
| Expiry date | Dec 17, 2019 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2209/481
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method, system, and apparatus for minimizing run-time exception handling overhead from invoked function calls. The present invention novelly minimizes execution of exception checking code and exception handling code in a caller when the callee is a compiled method. In the present embodiment the callee novelly treats the caller as a compiled method thereby enabling the callee to return to the exception handling label of the caller if an exception needs to be handled and to return and continue normal code execution if an exception does not need to be handled. Thereby the present invention minimizes execution of exception handling code in the caller. Further, the present embodiment novelly creates code with the layout of a compiled method when a caller is not a compiled method so that a compiled callee may treat its caller as a compiled method.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.