首页> 外国专利> System using backward inter-procedural analysis for determining alternative coarser grained lock when finer grained locks exceeding threshold

System using backward inter-procedural analysis for determining alternative coarser grained lock when finer grained locks exceeding threshold

机译:当细粒度锁超过阈值时,使用后向过程间分析确定备选粗粒度锁的系统

摘要

Locks which protect data structures used within atomic sections of concurrent programs are inferred from atomic sections and acquired in a manner to avoid deadlock. Locks may be inferred by expression correspondence using a backward inter-procedural analysis of an atomic section. Locks may be sorted according to a total order and acquired early in an atomic section to prevent deadlock. Multiple granularity of locks are determined and employed. Fine grained locks may be inferred and acquired to reduce contention. Coarse grained locks may be determined and substituted for fine grained locks when necessary for unbounded locations or to reduce the number of finer grained locks.
机译:从并发程序的原子部分中保护用于并发程序的原子部分中的数据结构的锁,并以避免死锁的方式获取这些锁。可以使用原子节的反向过程间分析通过表达式对应关系来推断锁。可以根据总顺序对锁进行排序,并在原子部分的早期获取锁以防止死锁。确定并采用锁的多个粒度。可以推断和获取细粒度的锁以减少争用。可以确定粗粒度的锁,并在无限制的位置需要时替换为细粒度的锁,或者减少细粒度的锁的数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号