首页> 外国专利> RESILIENT ADAPTIVE BIASED LOCKING IN MULTI-THREAD CONCURRENT PROGRAM EXECUTION

RESILIENT ADAPTIVE BIASED LOCKING IN MULTI-THREAD CONCURRENT PROGRAM EXECUTION

机译:在多线程并发程序执行中弹性自适应偏置锁定

摘要

A computer-implemented method and system for resilient adaptive biased locking. The method includes adding, in a system including an adaptive lock reservation scheme having a learning state, a component comprising a per class counter that counts, collectively, a number of learning failures and a number of revocation failures. An embodiment includes initializing the per class counter upon loading a class with a predetermined value representing at least one of a maximum number of learning failures and cancellation instances associated with the class. An embodiment includes initializing, based on a determination of an operational state of the per class counter for an object transitioning from one of the learning state and a biased state to a flatlock state, a lock word of the object directly to the flatlock state while bypassing the biased state.
机译:一种用于弹性自适应偏置锁定的计算机实现的方法和系统。该方法包括在包括具有学习状态的自适应锁定预留方案的系统中添加,该组件包括每个类计数器,其统称,统称,许多学习失败和许多撤销失败。一个实施例包括在加载类时初始化每类计数器,其中包含表示与该类相关联的最大学习失败和取消实例中的至少一个的预定值。一个实施例包括基于确定从学习状态之一和偏置状态转换到FLANDLOCK状态的对象的每个类计数器的操作状态的初始化,同时绕过的同时将对象的锁定单词直接锁定到FLANDLOCK状态偏见的状态。

著录项

  • 公开/公告号US2021157657A1

    专利类型

  • 公开/公告日2021-05-27

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US201916697796

  • 发明设计人 ANDREW JAMES CRAIK;

    申请日2019-11-27

  • 分类号G06F9/52;G06N20;

  • 国家 US

  • 入库时间 2022-08-24 18:55:15

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号