Patent · US Active

Automatic lock removal method for scalable synchronization in dynamic data structures

US10078653B2 · kind B2 · utility

1Cited by
1References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 16, 2015
Grant dateSep 18, 2018
Priority date
Expiry dateSep 28, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/2365
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

In one embodiment, a set of lock and unlock instructions in a read phase of a computer-readable program is replaced with a first set of tracking instructions, wherein the first set of tracking instructions track a set of locked objects identifying objects that would have been locked by executing the set of lock and unlock instructions. A second set of tracking instructions is inserted into the read phase of the computer-readable program, wherein the second set of tracking instructions track a set of read objects indicating versions of objects that are read. Validation instructions are inserted into the computer-readable program, wherein the validation instructions validate that the versions of objects in the set of read objects have not changed since they were last read and lock the set of locked objects that would have been locked upon completing execution of the set of lock and unlock instructions. Update instructions are added to an update phase of the computer-readable program, where the update instructions increment a current version of an object each time a value of the object is updated or a lock of the object is released.

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