首页>
外国专利>
Method for converting a program code lock conflict less program code of a program that runs on a multi-threaded and the computer program and the computer system,
Method for converting a program code lock conflict less program code of a program that runs on a multi-threaded and the computer program and the computer system,
PROBLEM TO BE SOLVED: To provide a method for automatically specifying a point in advance wherein a problem of performance degradation due to lock collision may occur, and for automatically modifying the point.;SOLUTION: A program code that performs access to a class for performing synchronization by a lock is automatically converted into a program code that performs access to a class capable of moving in parallel, in which the interval where the lock is obtained is shorter than the class for performing the synchronization by the lock. Moreover, in the conversion, the range to be locked by a synchronization lock on the program code is automatically shrunk. The conversion reduces the lock collision time during program code execution and prevents deterioration in CPU efficiency in a multithread.;COPYRIGHT: (C)2010,JPO&INPIT
展开▼