Invention Grant
- Patent Title: Methods for updating reference count and shared objects in a concurrent system
-
Application No.: US13524487Application Date: 2012-06-15
-
Publication No.: US10706051B1Publication Date: 2020-07-07
- Inventor: Shu-Shang Sam Wei , Shuaib Hasan Khwaja , Pankaj Pradhan
- Applicant: Shu-Shang Sam Wei , Shuaib Hasan Khwaja , Pankaj Pradhan
- Applicant Address: CA Waterloo
- Assignee: Open Text Corporation
- Current Assignee: Open Text Corporation
- Current Assignee Address: CA Waterloo
- Agency: Sprinkle IP Law Group
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F16/2455

Abstract:
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.
Information query