CSC/ECE 506 Spring 2012/ch9a cm: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "== Introduction == == Different Mutex solutions and Overheads == === Software Overhead === == Reducing the overhead - solutions == === Thick locks === === Thin locks === === Bias...")
 
No edit summary
Line 5: Line 5:
=== Thick locks ===
=== Thick locks ===
=== Thin 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 ===
=== Biased locks ===

Revision as of 03:58, 4 April 2012

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