2011 IEEE 17th International Conference on Parallel and Distributed Systems 2011
DOI: 10.1109/icpads.2011.112
|View full text |Cite
|
Sign up to set email alerts
|

SAW: Java Synchronization Selection from Lock or Software Transactional Memory

Abstract: To rewrite a sequential program into a concurrent one, the programmer has to enforce atomic execution of a sequence of accesses to shared memory to avoid unexpected inconsistency. There are two means of enforcing this atomicity: one is the use of lock-based synchronization and the other is the use of software transactional memory (STM). However, it is difficult to predict which one is more suitable for an application than the other without trying both mechanisms because their performance heavily depends on the… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1

Citation Types

0
4
0

Year Published

2012
2012
2021
2021

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(4 citation statements)
references
References 20 publications
0
4
0
Order By: Relevance
“…Nor is it especially difficult to have threads that remain at livelock when they continually fail to achieve the lock provided by a particular synchronization point. Much has been written and researched on how to avoid all of the above [ 21 ], [ 22 ], [ 23 ], [ 24 ], and numerous are the proposed formal techniques to avoid committing the typologies of failures described. Notwithstanding the foregoing, the control of concurrency remains a complex matter, where producing a clean code is not within everyone’s reach.…”
Section: Software Transactional Memorymentioning
confidence: 99%
See 2 more Smart Citations
“…Nor is it especially difficult to have threads that remain at livelock when they continually fail to achieve the lock provided by a particular synchronization point. Much has been written and researched on how to avoid all of the above [ 21 ], [ 22 ], [ 23 ], [ 24 ], and numerous are the proposed formal techniques to avoid committing the typologies of failures described. Notwithstanding the foregoing, the control of concurrency remains a complex matter, where producing a clean code is not within everyone’s reach.…”
Section: Software Transactional Memorymentioning
confidence: 99%
“…The whole process is graphically presented in Figure 3 . There are multiple implementations of STM for Java [ 11 ], [ 24 ]. With STM, programmers only need to delimit in their code the access to shared data, and wrap them within a transaction.…”
Section: Software Transactional Memorymentioning
confidence: 99%
See 1 more Smart Citation
“…SAW [20] is a Java library that adds synchronization to existing classes through aspect weaving. Classes and transactional methods are marked with @shared and @atomic annotations.…”
Section: Related Workmentioning
confidence: 99%