首页> 外国专利> 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
机译:解决的问题:提供一种方法,该方法用于预先自动指定点,在该方法中可能会发生由于锁冲突而导致的性能下降的问题,以及用于自动修改该点的方法。解决方案:一种执行对要执行的类的访问的程序代码通过锁进行的同步被自动转换为执行对能够并行移动的类的访问的程序代码,其中获得锁的间隔比通过锁进行同步的类短。此外,在转换中,将自动缩小由程序代码上的同步锁定锁定的范围。该转换减少了程序代码执行期间的锁冲突时间,并防止了多线程中CPU效率的下降。;版权所有:(C)2010,JPO&INPIT

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号