发明公开
- 专利标题: METHODS FOR UPDATING REFERENCE COUNT AND SHARED OBJECTS IN A CONCURRENT SYSTEM
-
申请号: US18485589申请日: 2023-10-12
-
公开(公告)号: US20240045870A1公开(公告)日: 2024-02-08
- 发明人: Shu-Shang Sam Wei , Shuaib Hasan Khwaja , Pankaj Pradhan
- 申请人: OPEN TEXT CORPORATION
- 申请人地址: CA Waterloo
- 专利权人: OPEN TEXT CORPORATION
- 当前专利权人: OPEN TEXT CORPORATION
- 当前专利权人地址: CA Waterloo
- 主分类号: G06F16/2455
- IPC分类号: 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.
信息查询