Lock fusion

Lock fusion is the process of having the code generator turn two lock/unlock regions that use the same monitor, into a wider one. This is optimal if just a small amount of side-effect-free code exists between them. Lock fusion is one way of reducing the overhead from many frequent acquisitions and releases of a particular monitor. Lazy unlocking is another.

See also Lazy unlocking.

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

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