发明授权
US06738976B1 Method, system, and apparatus to minimize exception handling overhead from invoked functions
失效
方法,系统和设备,以尽量减少调用函数的异常处理开销
- 专利标题: Method, system, and apparatus to minimize exception handling overhead from invoked functions
- 专利标题(中): 方法,系统和设备,以尽量减少调用函数的异常处理开销
-
申请号: US09466543申请日: 1999-12-17
-
公开(公告)号: US06738976B1公开(公告)日: 2004-05-18
- 发明人: Ruslan Meshenberg , Salil Pradhan , Yuhua Luo
- 申请人: Ruslan Meshenberg , Salil Pradhan , Yuhua Luo
- 主分类号: G06F946
- IPC分类号: G06F946
摘要:
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.
信息查询