Monitoring Atomicity in Concurrent Programs
Monitoring Atomicity in Concurrent Programs
复制标题
监控并发程序中的原子性
DOI:
--
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
P. Madhusudan
中科院分区:
文献类型:
--
作者:
Azadeh Farzan;P. Madhusudan
We study the problem of monitoring concurrent program runs for atomicity violations. Unearthing fundamental results behind scheduling algorithms in database control, we build space-efficient monitoring algorithms for checking atomicity that use space polynomial in the number of active threads and entities, and independent of the length of the run monitored. Second, by interpreting the monitoring algorithm as a finite automaton, we solve the model checking problem for atomicity of finite-state concurrent models. This establishes (for the first time) that model checking finite-state concurrent models for atomicity is decidable, and remedies incorrect proofs published in the literature. Finally, we exhibit experimental evidence that our atomicity monitoring algorithm gives substantial time and space benefits on benchmark applications.