CSC/ECE 506 Spring 2012/ch9a cm

From Expertiza_Wiki
Revision as of 03:58, 4 April 2012 by Mkotyad (talk | contribs)
Jump to navigation Jump to search

Introduction

Different Mutex solutions and Overheads

Software Overhead

Reducing the overhead - solutions

Thick locks

Thin locks

Language supported synchronization leads to inefficiency due to the useless synchronization requirements due to the thread safe nature of the Java Libraries. The necessity of locking introduces the use of heavy weight objects. This problem is solved by using a new algorithm that requires fewer machine instructions and lesser number of bits per lock.

Biased locks