首页> 外国专利> 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

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

机译:将在多线程中运行的程序的程序代码转换为导致较少的锁冲突的程序代码的方法,计算机程序和计算机系统

摘要

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.
机译:一种将在多线程中运行的程序的程序代码转换为引起较少的锁冲突的程序代码的方法。该方法包括将程序代码读取到存储器中,并在程序代码中搜索第一条件语句,该第一条件语句分支到路径,该路径在同步块中并且对同步块没有副作用;将通过搜索到的第一条件语句向分支进行复制的没有副作用的路径复制到同步块的外部;响应于所述复制,将第二条件语句添加到所述程序代码中,其中,所述第二条件语句是对所述复制路径进行分支而没有副作用的条件语句。还提供了一种使计算机执行上述方法的步骤的系统和制品。

著录项

  • 公开/公告号US8972959B2

    专利类型

  • 公开/公告日2015-03-03

    原文格式PDF

  • 申请/专利权人 KAZUAKI ISHIZAKI;

    申请/专利号US20100767843

  • 发明设计人 KAZUAKI ISHIZAKI;

    申请日2010-04-27

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 15:17:18

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号