首页> 外国专利> System and Method for Optimizing Software Transactional Memory Operations Using Static Caching of Memory Objects

System and Method for Optimizing Software Transactional Memory Operations Using Static Caching of Memory Objects

机译:使用内存对象的静态缓存优化软件事务性内存操作的系统和方法

摘要

Systems and methods for optimizing transactional memory operations may employ static analysis of source code and static caching of memory objects to elide redundant transactional accesses. For example, a compiler (or an optimizer thereof) may be configured to analyze code that includes an atomic transaction to determine if any read accesses to shared memory locations are dominated by a previous read or write access to the same locations and/or any write accesses to shared memory locations are post-dominated by a subsequent write access to the same locations. Any access within a transaction that is determined to be redundant (e.g., any access other than the first read of a given shared memory location from within the transaction or the last write to a given shared memory location from within the transaction) may be replaced (by the compiler/optimizer) with a non-transactional access to a cached shadow copy of the shared memory location.
机译:用于优化事务性存储器操作的系统和方法可以采用对源代码的静态分析和存储器对象的静态缓存,以消除冗余的事务性访问。例如,编译器(或其优化器)可以被配置为分析包括原子事务的代码,以确定对共享存储器位置的任何读取访问是否被对相同位置和/或任何写入的先前读取或写入访问所支配。对共享内存位置的访问主要由对相同位置的后续写访问控制。事务中被确定为冗余的任何访问(例如,除了从事务内部第一次读取给定共享内存位置或从事务内部最后写入给定共享内存位置以外的任何访问)都可以替换( (由编译器/优化器执行),以非事务方式访问共享内存位置的缓存卷影副本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号