Fat lock

A fat lock is a more intelligent, and consequently more complex, lock implementation than a thin lock. The implementation usually involves putting threads to sleep when they are waiting for the lock and keeping a priority queue of candidates who want the lock. Fat locks are more optimal for frequently contended locks or locks that are held for a long time, since they are less CPU-intensive.

See also Thin lock.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.176.5