发明名称 |
Exception handling compiler apparatus, program, recording medium, and compiling method |
摘要 |
Compiler apparatus, methods and systems for optimizing exception handling in a program. An example apparatus comprises an exception handler detection section for detecting, from exception handlers that catch exceptions thrown in the program, a multiple-catching exception handler that catches a plurality of different exceptions and rethrow the caught exceptions; an exception selection section for selecting a set of exceptions that are to be shifted to common processing through rethrow of the exception by the multiple-catching exception handler from among the plurality of exceptions caught by the detected multiple-catching exception handler; and an exception handler throw section for throwing a clone exception handler that catches the set of exceptions selected by the exception selection section instead of the multiple-catching exception handler and shifting it to common processing.
|
申请公布号 |
US7526761(B2) |
申请公布日期 |
2009.04.28 |
申请号 |
US20040801879 |
申请日期 |
2004.03.16 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
OGASAWARA TAKESHI |
分类号 |
G06F9/45;G06F9/48 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|