Why the grass may not be greener on the other side: a comparison of locking vs. transactional memory

  • Authors:
  • Paul E. McKenney;Maged M. Michael;Josh Triplett;Jonathan Walpole

  • Affiliations:
  • IBM Beaverton;IBM Thomas J. Watson Research Center;Portland State University;Portland State University

  • Venue:
  • ACM SIGOPS Operating Systems Review
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The advent of multi-core and multi-threaded processor architectures highlights the need to address the well-known shortcomings of the ubiquitous lock-based synchronization mechanisms. To this end, transactional memory has been viewed by many as a promising alternative to locking. This paper therefore presents a constructive critique of locking and transactional memory: their strengths, weaknesses, and opportunities for improvement.