Please download the dossier by clicking on the dossier button x
×

Profile-driven lock handling

  • US 7,987,452 B2
  • Filed: 12/15/2005
  • Issued: 07/26/2011
  • Est. Priority Date: 12/15/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of processing program code configured to access a lock, the method comprising:

  • profiling the program code to collect metadata associated with the lock for a particular runtime environment;

    in a first thread attempting to access the lock being held by a second thread, accessing the metadata associated with the lock to determine an expected total wait time for the lock to be held;

    tracking a how long the lock has already been held by the second thread while the lock is held by the second thread;

    in the first thread, determining from the expected total wait time and how long the lock has already been held by the second thread an expected remaining wait time before the lock is released by the second thread; and

    based upon the expected remaining wait time and using at least one hardware-implemented processor, selecting from among a plurality of lock access implementations to access the lock.

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