Lock amortization in a data counter
AssigneeRed Hat, Inc.
InventorsManik Surtani, Vladimire Blagojevic
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorsManik Surtani, Vladimire Blagojevic
Estimating the term…
An apparatus and a method for providing amortized lock access in a data container is described. Each access from each thread of a process in a memory to each object of a data container in the memory is recorded in a queue of the data container. A queue manager determines whether the recorded number of accesses in the queue has reached a predetermined threshold. The queue manager executes a lock algorithm and an eviction algorithm on all objects in the data container when the recorded number of accesses in the queue has reached the predetermined threshold. The lock algorithm is configured to lock objects in the data container while the eviction algorithm is performed on the data container. The eviction algorithm is configured to evict one or more objects from the data container pursuant to the eviction algorithm.
A method comprising:
A non-transitory computer-readable storage medium, having instructions stored therein, which when executed, cause a processing device to perform operations comprising:
A computer system comprising:
Dependencies are inferred from the claim text.