CPC G06F 9/5027 (2013.01) [G06F 9/30047 (2013.01); G06F 9/3009 (2013.01); G06F 9/526 (2013.01); G06F 2209/5011 (2013.01); G06F 2209/508 (2013.01)] | 20 Claims |
1. A method for tracking a lock which restricts access to a computerized resource of a computerized apparatus having limited storage resources, comprising:
placing an event into an event queue of the computerized apparatus, the event comprising object information;
extracting the object information in the event through a thread in a thread pool;
recording lock information comprising the object information according to a determination that the thread executes a lock operation which operates a lock on the computerized resource of the computerized apparatus;
monitoring a utilization rate of a storage pool of the computerized apparatus;
determining whether the utilization rate is greater than a predetermined threshold; and
switching, according to a determination that the utilization rate is greater than the predetermined threshold, a tracking system to a bypass mode in which the lock information is recorded but not analyzed;
wherein recording the lock information comprises:
distributing a standby repository from a usable pool in the storage pool to a kernel, the standby repository comprising a plurality of storage units for recording lock information;
recording the lock information in the standby repository to form a used repository; and
transferring the used repository from the kernel to a used pool in the storage pool.
|