Transactional Memory for Smalltalk Concurrent Programming Problems …

Transactional Memory for Smalltalk Concurrent Programming Problems ...Short Description
for Smalltalk. Lukas Renggli. Oscar Nierstrasz. Software Composition Group. University of Bern. Concurrent Programming. Semaphore forMutualExclusion …

Website: www.lukas-renggli.ch | Filesize: 193kb

Content
Transactional Memory
for Smalltalk
Lukas Renggli
Oscar Nierstrasz
Software Composition Group
University of Bern
Concurrent Programming
Semaphore forMutualExclusion
RecursionLock new
Mutex new
Problems
Deadlocks
Starvation
Priority Inversion
Complexity
Software
Transactional Memory
Programming
with Transactions
Lock Based
tree := BTree new.
lock := Semaphore forMutualExclusion.
” writing ”
lock critical: [ tree at: #a put: 1 ].
” reading ”
lock critical: [ tree at: #a ].Transactional
executed as
whole or has
no effect
runs in
isolation
applied
atomically
tree := BTree new.
” writing ”
[ tree at: #a put: 1 ] atomic.
” reading ”
tree at: #a.
Inside Transactions
Implementation in Smalltalk
Lazy code transformation
Method annotations
Context dependent code execution
Static Model
selector
parseTree
CompiledMethod
selector
*
methods
/selector
/parseTree
AtomicMethod
atomicMethod
1
method
1
name
superclass
subclasses
instanceVariables
Class
0..1
Code Transformation
Message Sends
Instance Variables
Variable Bindings…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • The Smalltalk Programming Language A Comparison with Java Colin …
  • Pure Object-Oriented Programming in Smalltalk
  • The Smalltalk-76 Programming System Design and Implementation
  • Pocket Smalltalk User’s Guide 1. Introduction 2. About Smalltalk
  • COMP2007 Concurrent Programming Part I Java Programming in the …
  • Concurrent Programming in Erlang
  • Generating Parallel Programs from the Wavefront Design Pattern
  • VisualWorks Memory Management Tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply