首页>
外国专利>
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.
展开▼