Efficient retry for transactional memory
AssigneeMicrosoft Corporation
InventorsMichael M. Magruder, David Detlefs, John Joseph Duffy, Goetz Graefe, Vinod K. Grover
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsMichael M. Magruder, David Detlefs, John Joseph Duffy, Goetz Graefe, Vinod K. Grover
Estimating the term…
Various technologies and techniques are disclosed for implementing retrying transactions in a transactional memory system. The system allows a transaction to execute a retry operation. The system registers for waits on every read in a read set of the retrying transaction. The retrying transaction waits for notification that something in the read set has changed. A transaction knows if notification is required in one of two ways. If the transactional memory word contained a waiters bit during write lock acquisition, then during release the transactional memory word is looked up in an object waiters map, and waiting transactions are signaled. If a writing transaction finds a global count of waiting transactions to be greater than zero after releasing write locks, a transaction waiters map is used to determine which waiting transactions need to be signaled. In each case, the write lock is released using a normal store operation.
A computer storage medium having computer-executable instructions for causing a computer to perform steps comprising:
A method for performing a wait notification for a retrying transaction comprising the steps of:
A method for starting a rollback with just a retrying transaction and progressively expanding to ancestors of the retrying transaction comprising the steps of:
Dependencies are inferred from the claim text.