发明名称 |
Managing concurrent accesses to a cache |
摘要 |
Various embodiments of the present invention allow concurrent accesses to a cache. A request to update an object stored in a cache is received. A first data structure comprising a new value for the object is created in response to receiving the request. A cache pointer is atomically modified to point to the first data structure. A second data structure comprising an old value for the cached object is maintained until a process, which holds a pointer to the old value of the cached object, at least one of one of ends and indicates that the old value is no longer needed. |
申请公布号 |
US8756379(B2) |
申请公布日期 |
2014.06.17 |
申请号 |
US201313925356 |
申请日期 |
2013.06.24 |
申请人 |
International Business Machines Corporation |
发明人 |
Dantzig Paul M.;Dryfoos Robert O.;Duri Sastry S.;Iyengar Arun |
分类号 |
G06F12/00 |
主分类号 |
G06F12/00 |
代理机构 |
Fleit Gibbons Gutman Bongini & Bianco PL |
代理人 |
Grzesik Thomas;Fleit Gibbons Gutman Bongini & Bianco PL |
主权项 |
1. An information processing system for allowing concurrent accesses to a cache, the information processing system comprising:
a memory; a processor communicatively coupled to the memory, wherein the processor is configured to perform a method comprising:
receiving a request to update an object stored in the cache;creating, in response to receiving the request, a first data structure comprising a new value for the object;atomically modifying a cache pointer to point to the first data structure; andmaintaining a second data structure comprising an old value for the object until a process, which holds a pointer to the old value of the object, at least one of ends and indicates that the old value is no longer needed.
|
地址 |
Armonk NY US |