- 专利标题: Methods for updating reference count and shared objects in a concurrent system
-
申请号: US16883681申请日: 2020-05-26
-
公开(公告)号: US11487761B2公开(公告)日: 2022-11-01
- 发明人: Shu-Shang Sam Wei , Shuaib Hasan Khwaja , Pankaj Pradhan
- 申请人: Open Text Corporation
- 申请人地址: CA Waterloo
- 专利权人: Open Text Corporation
- 当前专利权人: Open Text Corporation
- 当前专利权人地址: CA Waterloo
- 代理机构: Sprinkle IP Law Group
- 主分类号: G06F16/24
- IPC分类号: G06F16/24 ; G06F16/2455
摘要:
A method for referencing and updating objects in a shared resource environment. A reference counter counts is incremented for every use of an object subtype in a session and decremented for every release of an object subtype in a session. A session counter is incremented upon the first instance of fetching an object type into a session cache and decremented upon having no instances of the object type in use in the session. When both the reference counter and the session counter are zero, the object type may be removed from the cache. When the object type needs to be updated, it is cloned into a local cache, and changes are made on the local copy. The global cache is then locked to all other users, the original object type is detached, and the cloned object type is swapped into the global cache, after which the global cache in unlocked.
公开/授权文献
信息查询