MANAGING CONCURRENT ACCESSES TO A CACHE
    1.
    发明申请
    MANAGING CONCURRENT ACCESSES TO A CACHE 有权
    管理缓存中的并发访问

    公开(公告)号:US20120303908A1

    公开(公告)日:2012-11-29

    申请号:US13570847

    申请日:2012-08-09

    IPC分类号: G06F12/08

    CPC分类号: G06F12/084 G06F12/0842

    摘要: 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.

    摘要翻译: 本发明的各种实施例允许对高速缓存的并发访问。 接收到更新存储在高速缓存中的对象的请求。 响应于接收到请求而创建包括对象的新值的第一数据结构。 缓存指针被原子地修改为指向第一个数据结构。 包括用于缓存对象的旧值的第二数据结构被维护,直到持有指向缓存对象的旧值的指针的过程中的至少一个结束,并且指示不再需要旧值。