Converting program code of a multi-threaded program into program code causing less lock contentions
AssigneeInternational Business Machines Corporation
InventorKazuaki Ishizaki
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorKazuaki Ishizaki
Estimating the term…
A method, computer system, and computer readable article of manufacture for converting a first program code in a multi-threaded program into a second program code which causes less lock contention. A processing unit determines whether the first program code includes either a first class having a method call to a third class that operates while taking synchronization by locking, or a second class inheriting a parent class that operates while taking synchronization by locking. If the first class, then it is converted into a class with a method call to a concurrent operation executable class that is functionally equivalent and a shorter lock holding section. If the second class, then it is converted into a class with a method call to a concurrent operation executable class that is functionally equivalent to that of the parent class, and a shorter lock holding section.
A method of converting a first program code in a multi-threaded program into a second program code which causes less lock contention, the method comprising the steps of:
A computer system for executing a conversion computer program for converting a first program code in a multi-threaded program into a second program code which causes less lock contention, the computer system comprising:
A non-transitory computer readable storage medium tangibly embodying computer readable instructions which when executed causes a computer to carry out the steps of the method for controlling data comprising the steps of:
Dependencies are inferred from the claim text.