×

Adaptive spinning of computer program threads acquiring locks on resource objects by selective sampling of the locks

  • US 8,621,464 B2
  • Filed: 01/31/2011
  • Issued: 12/31/2013
  • Est. Priority Date: 01/31/2011
  • Status: Expired due to Fees
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 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 spinning;

    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; and

    terminating the monitoring of said values of said first set of parameters of said lock while threads currently spinning continue spinning.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×