发明名称 Compiling method with exception handling
摘要 The present invention aims to reduce the operating costs for obtaining the lock data required for an exception handling, and to reduce the affect of the exception handling on the operating costs. When an execution program is to be compiled, based on information for the inlining of a function in this program, data concerning is generated for a lock for a resource due to the inlined function. Further, based on the lock data, the data concerning a lock count set upon the execution of code for the target program is added to this program. Then, when an exception has occurred during the execution of the program, the data concerning the lock count is employed to obtain the lock count at the time of execution of the code whereat the exception occurred, and the lock count set at the time of execution of an exception handler for this exception. After the locks for the resource have been released in a number equivalent to a difference between the two lock counts, the process for this exception is initiated.
申请公布号 US2003217327(A1) 申请公布日期 2003.11.20
申请号 US20020147195 申请日期 2002.05.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 OGASAWARA TAKESHI
分类号 G06F9/45;G06F9/46;(IPC1-7):G06F11/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址