Patent · US Expired

Relaxed lock protocol

US6735760B1 · kind B1 · utility

64Cited by
17References
45Claims
0Family size

Assignee

Inventor

Key dates

Filing dateNov 8, 2000
Grant dateMay 11, 2004
Priority date
Expiry dateJun 9, 2022

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/52
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

An object-oriented compiler/interpreter allocates monitor records for use in implementing synchronized operations on objects. When a synchronization operation is to be performed on an object, a thread that is to perform the operation “inflates” the object's monitor by placing into its header a pointer to the monitor record as well as an indication of the monitor's inflated status. When a thread is to release its lock on an object, it first consults a reference-count field in the monitor record to determine whether any other threads are synchronized on the object. It then dissociates the object from the monitor record. The dissociation is not atomic with the reference-count check, so the releasing thread checks the reference count again. If that count indicates that further objects had employed the monitor record to synchronize on the object in the interim, then the unlocking thread wakes all waiting threads.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.