Invention Grant
- Patent Title: Bulk synchronization in transactional memory systems
- Patent Title (中): 事务内存系统中的批量同步
-
Application No.: US12492627Application Date: 2009-06-26
-
Publication No.: US08302105B2Publication Date: 2012-10-30
- Inventor: Nir N. Shavit , David Dice
- Applicant: Nir N. Shavit , David Dice
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F17/00

Abstract:
A method and system for acquiring multiple software locks in bulk is disclosed. When multiple locks need to be acquired, such as for atomic transactions in transactional memory systems, the disclosed techniques may be applied to consolidate computationally expensive memory barrier operations across the lock acquisitions. A system may acquire multiple locks in bulk, at least in part, by modifying values in one or more fields of multiple locks and by then performing a memory barrier operation to ensure that the modified values in the multiple locks are visible to other application threads. The technique may be repeated for locks that the system fails to acquire during earlier iterations until all required locks are acquired. The described technique may be applied to various scenarios including static and/or dynamic transactional locking protocols.
Public/Granted literature
- US20100333095A1 Bulk Synchronization in Transactional Memory Systems Public/Granted day:2010-12-30
Information query