发明名称 System and Method for Optimizing a Code Section by Forcing a Code Section to be Executed Atomically
摘要 Systems and methods for optimizing code may use transactional memory to optimize one code section by forcing another code section to execute atomically. Application source code may be analyzed to identify instructions in one code section that only need to be executed if there exists the possibility that another code section (e.g., a critical section) could be partially executed or that its results could be affected by interference. In response to identifying such instructions, alternate code may be generated that forces the critical section to be executed as an atomic transaction, e.g., using best-effort hardware transactional memory. This alternate code may replace the original code or may be included in an alternate execution path that can be conditionally selected for execution at runtime. The alternate code may elide the identified instructions (which are rendered unnecessary by the transaction) by removing them, or by including them in the alternate execution path.
申请公布号 US2012254846(A1) 申请公布日期 2012.10.04
申请号 US201113077793 申请日期 2011.03.31
申请人 MOIR MARK S.;DICE DAVID;TIRTHAPURA SRIKANTA N. 发明人 MOIR MARK S.;DICE DAVID;TIRTHAPURA SRIKANTA N.
分类号 G06F9/45;G06F9/46 主分类号 G06F9/45
代理机构 代理人
主权项
地址