首页>
外国专利>
METHOD FOR CONVERTING PROGRAM CODE OF PROGRAM RUNNING IN MULTITHREADED ENVIRONMENT TO PROGRAM CODE HAVING FEWER LOCK CONFLICTS, AND COMPUTER PROGRAM AND COMPUTER SYSTEM THEREFOR
METHOD FOR CONVERTING PROGRAM CODE OF PROGRAM RUNNING IN MULTITHREADED ENVIRONMENT TO PROGRAM CODE HAVING FEWER LOCK CONFLICTS, AND COMPUTER PROGRAM AND COMPUTER SYSTEM THEREFOR
will result in certain places, such as the problem of performance degradation due to lock conflicts automatically (lock conflict) and , a method for modifying the need to place automatically. To this end, the invention provides a method for converting a program code for the lock conflict less program code of a program that runs on a multi-threaded. The method leads to the program code in the memory, from the read program code, the sync block, and also comprising the steps of: searching for a conditional statement of the first branch to pass without adverse effects on the sync block, the sync block In addition, duplicating the path that is not a side effect by the conditional branch of the retrieved first and, according to the reproduction, adding a conditional statement in the program code of the second - here, the condition of the second is the replication Im a conditional statement that branches to pass with no side effects - including the ;
展开▼