arrow
返回

Runtime analysis of atomicity for multithreaded programs

delete2006-02-01
delete111
delete
OA
AI
W
Wang, LQ
S
Scott D. Stoller
DOI:10.1109/TSE.2006.1599419delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Atomicity is a correctness condition for concurrent systems. Informally, atomicity is the property that every concurrent execution of a set of transactions is equivalent to some serial execution of the same transactions. In multithreaded programs, executions of procedures ( or methods) can be regarded as transactions. Correctness in the presence of concurrency typically requires atomicity of these transactions. Tools that automatically detect atomicity violations can uncover subtle errors that are hard to find with traditional debugging and testing techniques. This paper describes two algorithms for runtime detection of atomicity violations and compares their cost and effectiveness. The reduction-based algorithm checks atomicity based on commutativity properties of events in a trace; the block-based algorithm efficiently represents the relevant information about a trace as a set of blocks (i.e., pairs of events plus associated synchronizations) and checks atomicity by comparing each block with other blocks. To improve the efficiency and accuracy of both algorithms, we incorporate a multilockset algorithm for checking data races, dynamic escape analysis, and happen-before analysis. Experiments show that both algorithms are effective in finding atomicity violations. The block-based algorithm is more accurate but more expensive than the reduction-based algorithm.
Keyword:
concurrent programming
testing and debugging
Java
data race
atomicity

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

暂无机构信息
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Regional serotonin terminal density in aging human brain: A [11C]DASB PET study
err2023-01-01
err0
errOAAI
errPrabesh Kanel; Robert A. Koeppe; Vikas Kotagal; Stiven Roytman; Martijn L.T.M. Muller; Nicolaas I. Bohnen; Roger L. Albin
err分享
err收藏
Otolith Microchemistry Reveals Substantial Use of Freshwater by Southern Flounder in the Northern Gulf of Mexico
err2010-08-25
err0
PREAI
errMichael R. Lowe; Dennis R. DeVries; Russell A. Wright; Stuart A. Ludsin; Brian J. Fryer
err分享
err收藏
Foreword: 4th edition of the American Society of Transplantation Infectious Diseases Guidelines
err2019-07-04
err0
PREAI
errMichael Green; Emily A. Blumberg; Lara Danziger‐Isakov; Shirish Huprikar; Camille Nelson Kotton; Deepali Kumar
err分享
err收藏
Autophagy自噬
err
IF0
err2003-12-15
err0
PREAI
errDaniel Klionsky
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容