Method and system for locking resources in a computer system
AssigneeOracle Corporation
InventorsWilson Wai Shun Chan, Tak Fung Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle Corporation
InventorsWilson Wai Shun Chan, Tak Fung Wang
Estimating the term…
Methods and systems are provided for providing locking in a system. The resource objects of the system can be persistent, and thus provide finer granularity locking by allowing shared resource objects to be dynamically allocated and de-allocated. The persistent nature of the resource objects allows for the dynamic allocation and de-allocation of the resource objects, while guarding against the abnormal release of resource locks that result in the possibility of inconsistent data. If abnormal release occurs, the affected resource object(s) are marked to indicate that they are in a "dubious" state. The dubious resource objects are not dynamically de-allocated, but are instead allowed to persist until corrective or validation actions are taken. If the locks are validly released, then the resource objects can be safely de-allocated. In this manner, fine granularity locks can be created to cover minute portions of the shared system resources for some duration, without excessively incurring system overhead and memory.
A method for locking resources in a computer system comprising the steps of:
A lock manager for controlling and managing the access of system resources on a computer system comprising:
A computer readable medium carrying one or more sequences of instructions for locking resource in a computer system, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
Dependencies are inferred from the claim text.