Invention Grant
- Patent Title: System and method for implementing hybrid single-compare-single-store operations
- Patent Title (中): 实现混合单比较单店操作的系统和方法
-
Application No.: US11967358Application Date: 2007-12-31
-
Publication No.: US07793052B2Publication Date: 2010-09-07
- Inventor: James R. Goodman , Mark S. Moir , Fu'ad W. F. Al Tabba′ , Cong Wang
- Applicant: James R. Goodman , Mark S. Moir , Fu'ad W. F. Al Tabba′ , Cong Wang
- 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: G06F12/00
- IPC: G06F12/00

Abstract:
A hybrid Single-Compare-Single-Store (SCSS) operation may exploit best-effort hardware transactional memory (HTM) for good performance in the case that it succeeds, and may transparently resort to software-mediated transactions if the hardware transactional mechanisms fail. The SCSS operation may compare a value in a control location to a specified expected value, and if they match, may store a new value in a separate data location. The control value may include a global lock, a transaction status indicator, and/or a portion of an ownership record, in different embodiments. If another transaction in progress owns the data location, the SCSS operation may abort the other transaction or may help it complete by copying the other transactions' write set into its own right set before acquiring ownership. A hybrid SCSS operation, which is usually nonblocking, may be applied to building software transactional memories (STMs) and/or hybrid transactional memories (HyTMs), in some embodiments.
Public/Granted literature
- US20090172299A1 System and Method for Implementing Hybrid Single-Compare-Single-Store Operations Public/Granted day:2009-07-02
Information query