Transactional lock elision with delayed lock checking
First Claim
Patent Images
1. A computer-implemented method, comprising:
- executing a transactional lock elision transaction including a critical section;
processing the critical section;
checking, after the processing of the critical section and prior to a commit point in the transactional lock elision transaction, a status of a lock;
committing, responsive to a determination that a status of the lock is free, a result of the transactional lock elision transaction;
calculating a cost associated with the lock being checked;
analyzing the cost; and
identifying, using a result of the analyzing, one of;
a lock read early ora lock read late.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method includes the following operations. A transactional lock elision transaction including a critical section is executed. The critical section is processed. After the processing of the critical section and prior to a commit point in the transactional lock elision transaction, a status of a lock is checked. Responsive to a determination that a status of the lock is free, a result of the transactional lock elision transaction is committed.
11 Citations
15 Claims
-
1. A computer-implemented method, comprising:
-
executing a transactional lock elision transaction including a critical section; processing the critical section; checking, after the processing of the critical section and prior to a commit point in the transactional lock elision transaction, a status of a lock; committing, responsive to a determination that a status of the lock is free, a result of the transactional lock elision transaction; calculating a cost associated with the lock being checked; analyzing the cost; and identifying, using a result of the analyzing, one of; a lock read early or a lock read late. - View Dependent Claims (2, 3)
-
-
4. A computer hardware system, comprising
a hardware processor configured to initiate the following operations: -
executing a transactional lock elision transaction including a critical section; processing the critical section; checking, after the processing of the critical section and prior to a commit point in the transactional lock elision transaction, a status of a lock; committing, responsive to a determination that a status of the lock is free, a result of the transactional lock elision transactions; calculating a cost associated with the lock being checked; analyzing the cost; and identifying, using a result of the analyzing, one of; a lock read early or a lock read late. - View Dependent Claims (5, 6, 7, 8, 9)
-
-
10. A computer program product, comprising:
-
a storage hardware device having stored therein program code, the program code, when executed by a computer hardware system, causes the computer hardware system to perform; executing a transactional lock elision transaction including a critical section; processing the critical section; checking, after the processing of the critical section and prior to a commit point in the transactional lock elision transaction, a status of a lock; committing, responsive to a determination that a status of the lock is free, a result of the transactional lock elision transaction; calculating a cost associated with the lock being checked; analyzing the cost; and identifying, using a result of the analyzing, one of; a lock read early or a lock read late. - View Dependent Claims (11, 12, 13, 14, 15)
-
Specification