×

SYSTEM AND METHOD FOR SUPPORTING AN ADAPTIVE SELF-TUNING LOCKING MECHANISM IN A TRANSACTIONAL MIDDLEWARE MACHINE ENVIRONMENT

  • US 20150317191A1
  • Filed: 06/19/2014
  • Published: 11/05/2015
  • Est. Priority Date: 03/07/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for supporting an adaptive locking mechanism in a transactional middleware machine environment, comprising:

  • performing, via each process in a plurality of processes, one or more test-and-set (TAS) operations in order to obtain a lock for data in a shared memory;

    obtaining a spin failed rate for a current tuning period, wherein a spin failure happens when a process fails to obtain the lock after performing a maximum number of rounds of TAS operations that are allowed; and

    adaptively configuring a spin count for a next tuning period based on the obtained spin failure rate, wherein the spin count specifies the maximum number of rounds of TAS operations that are allowed for the next tuning period.

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