首页> 外国专利> Methods and apparatus to manage speculative execution of object locks by diverting the speculative execution of target code

Methods and apparatus to manage speculative execution of object locks by diverting the speculative execution of target code

机译:通过转移目标代码的推测执行来管理对象锁定的推测执行的方法和装置

摘要

Example methods and apparatus to manage object locks are disclosed. A disclosed example method includes intercepting a processor request to apply the lock on the object, identifying a performance history of the object based on a number of instances of contention, reducing computing resources of the processor by, when the number of instances is below a threshold value, generating a lock bypass for the object to cause speculative execution of target code within the object, and preventing speculative execution by applying the lock on the object when the number of instances is above the threshold value.
机译:公开了用于管理对象锁的示例方法和设备。公开的示例方法包括拦截处理器对对象施加锁的请求,基于争用的多个实例识别对象的性能历史,当实例的数量低于阈值时减少处理器的计算资源。值,为对象生成锁旁路以引起对象内目标代码的推测执行,并通过在实例数大于阈值时在对象上施加锁定来防止推测执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号