Invention Grant
US08972959B2 Method of converting program code of program running in multi-thread to program code causing less lock collisions, computer program and computer system for the same
有权
将程序运行在多线程中的程序代码转换为导致较少锁定冲突的程序代码,计算机程序和计算机系统的方法
- Patent Title: Method of converting program code of program running in multi-thread to program code causing less lock collisions, computer program and computer system for the same
- Patent Title (中): 将程序运行在多线程中的程序代码转换为导致较少锁定冲突的程序代码,计算机程序和计算机系统的方法
-
Application No.: US12767843Application Date: 2010-04-27
-
Publication No.: US08972959B2Publication Date: 2015-03-03
- Inventor: Kazuaki Ishizaki
- Applicant: Kazuaki Ishizaki
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Priority: JP2009-109937 20090428
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method of converting a program code of a program running in multi-thread to a program code which causes fewer lock collisions. The method includes reading the program code into a memory and searching the program code for a first conditional statement making a branch to a path, which is in a synchronized block and has no side effect on the synchronized block; duplicating the path having no side effect to which the branch is made by the searched first conditional statement into the outside of the synchronized block; and adding a second conditional statement into the program code in response to the duplication, wherein the second conditional statement is a conditional statement making a branch to the duplicated path having no side effect. Also provided is a system and an article of manufacture which causes a computer to carry out the steps of the above method.
Public/Granted literature
Information query