Method and apparatus for avoiding locks by speculatively executing critical sections
AssigneeSun Microsystems, Inc.
InventorsMarc Tremblay, Shailender Chaudhry, Quinn A. Jacobson
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsMarc Tremblay, Shailender Chaudhry, Quinn A. Jacobson
Estimating the term…
One embodiment of the present invention provides a system that facilitates avoiding locks by speculatively executing critical sections of code. During operation, the system allows a process to speculatively execute a critical section of code within a program without first acquiring a lock associated with the critical section. If the process subsequently completes the critical section without encountering an interfering data access from another process, the system commits changes made during the speculative execution, and resumes normal non-speculative execution of the program past the critical section. Otherwise, if an interfering data access from another process is encountered during execution of the critical section, the system discards changes made during the speculative execution, and attempts to re-execute the critical section.
A method for avoiding locks by speculatively executing critical sections of code, comprising:
An apparatus that avoids locks by speculatively executing critical sections of code, comprising:
A computer system that facilitates avoiding locks by speculatively executing critical sections of code, comprising:
Dependencies are inferred from the claim text.