Compiling method with exception handling
AssigneeInternational Business Machines Corporation
InventorTakeshi Ogasawara
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorTakeshi Ogasawara
Estimating the term…
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.
A compiling method for converting, into machine language, source code for a target program prepared using a programming language, said method comprising the steps of:
A computer comprising:
A program storage device readable by a computing machine, tangibly embodying a compiler program of instructions executable by the machine to perform method steps of a compiling method for converting, into machine language, source code for a target program prepared using a programming language, said method comprising the steps of:
Dependencies are inferred from the claim text.