- 专利标题: Fine-grained hardware transactional lock elision
-
申请号: US15050393申请日: 2016-02-22
-
公开(公告)号: US10534538B2公开(公告)日: 2020-01-14
- 发明人: Alex Kogan , David Dice , Virendra J. Marathe
- 申请人: Oracle International Corporation
- 申请人地址: US CA Redwood City
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood City
- 代理机构: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- 代理商 Robert C. Kowert
- 主分类号: G06F3/06
- IPC分类号: G06F3/06 ; G06F9/46 ; G06F9/50 ; G06F9/52
摘要:
Concurrent threads may be synchronized at the level of the memory words they access rather than at the level of the lock that protects the execution of critical sections. Each lock may be associated with an array of flags and each flag may indicate ownership of certain memory words. A pessimistic thread may set flags corresponding to memory words it is accessing in the critical section, while an optimistic thread may read the corresponding flag before any memory access to ensure that the flag is not set and that therefore the associated memory word is not being accessed by the other thread. Thus, optimistic threads that do not have conflicts with the pessimistic thread may not have to wait for the pessimistic thread to release the lock before proceeding.
公开/授权文献
- US20160246641A1 Fine-grained Hardware Transactional Lock Elision 公开/授权日:2016-08-25
信息查询