AVOIDING LOCKS BY TRANSACTIONALLY EXECUTING CRITICAL SECTIONS

Patent №

US 7,398,355

Granted

2008-07-08

Filed 2005

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

2

planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

11195093

One embodiment of the present invention provides a system that avoids locks by transactionally executing critical sections. During operation, the system receives a program which includes one or more critical sections which are protected by locks. Next, the system modifies the program so that the critical sections which are protected by locks are executed transactionally without acquiring locks associated with the critical sections. More specifically, the program is modified so that: (1) during transactional execution of a critical section, the program first determines if a lock associated with the critical section is held by another process and if so aborts the transactional execution; (2) if the transactional execution of the critical section completes without encountering an interfering data access from another process, the program commits changes made during the transactional execution and optionally resumes normal non-transactional execution of the program past the critical section; and (3) if an interfering data access from another process is encountered during transactional execution of the critical section, the program discards changes made during the transactional execution, and attempts to re-execute the critical section zero or more times.

PlanningAI hardwareG06F 9/3004G06F 9/30087G06F 9/3834G06F 9/3842G06F 9/38585G06F 9/3863G06F 9/528G06F 12/0815+1 more

AI classification

Planning1.00
AI hardware0.78
Knowledge representation0.09
Natural language0.02
Evolutionary computation0.00
Vision0.00
Speech0.00
Machine learning0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 168610702

Assignors

MOIR, MARK S., TREMBLAY, MARC, CHAUDHRY, SHAILENDER

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC