ADAPTIVE SPINNING OF COMPUTER PROGRAM THREADS ACQUIRING LOCKS ON RESOURCE OBJECTS BY SELECTIVE SAMPLING OF THE LOCKS
First Claim
Patent Images
1. A method for adjusting the spinning of computer process threads awaiting locks on objects in data processing systems comprising:
- monitoring values of a first set of parameters of a lock on an object, for which lock, threads requesting said lock are capable of spinning;
applying said monitored values of said first set of parameters to adjust the spinning of said threads requesting said lock;
monitoring values of a second set of parameters relative to said lock on an object, for which lock, threads requesting said lock are capable of spinning; and
applying said values of said second set of parameters to determine whether the monitoring of said first set of parameters of said lock should be terminated.
1 Assignment
0 Petitions
Accused Products
Abstract
In the dynamic sampling or collection of data relative to locks for which threads attempting to acquire the lock may be spinning so as to adaptively adjust the spinning of threads for a lock, an implementation for monitoring a set of parameters relative to the sampling of data of particular locks and selectively terminating the sampling when certain parameter values or conditions are met.
-
Citations
21 Claims
-
1. A method for adjusting the spinning of computer process threads awaiting locks on objects in data processing systems comprising:
-
monitoring values of a first set of parameters of a lock on an object, for which lock, threads requesting said lock are capable of spinning; applying said monitored values of said first set of parameters to adjust the spinning of said threads requesting said lock; monitoring values of a second set of parameters relative to said lock on an object, for which lock, threads requesting said lock are capable of spinning; and applying said values of said second set of parameters to determine whether the monitoring of said first set of parameters of said lock should be terminated. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for adjusting the spinning of computer process threads awaiting locks on objects in data processing, said system comprising:
-
a processor; and a computer memory holding computer program instructions that, when executed by the processor, perform the method comprising; monitoring values of a first set of parameters of a lock on an object, for which lock threads requesting said lock are capable of spinning; applying said monitored values of said first set of parameters to adjust the spinning of said threads requesting said locks; monitoring values of a second set of parameters relative to said lock on an object, for which lock threads requesting said lock are capable of spinning; and applying said values of said second set of parameters to determine whether the monitoring of said first set of parameters of said lock should be terminated. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer usable storage medium having stored thereon a computer readable program for adjusting the spinning of computer process threads awaiting locks on objects in a data processing system, wherein the computer readable program, when executed on a computer, causes the computer to:
-
monitor values of a first set of parameters of a lock on an object, for which lock threads requesting said lock are capable of spinning; apply said monitored values of said first set of parameters to adjust the spinning of said threads requesting said lock; monitor values second set of parameters relative to said lock on an object, for which lock, threads requesting said lock are spinning; and apply said values of said second set of parameters to determine whether the monitoring of said first set of parameters of said lock should be terminated. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification