Precise detection of atomicity violations

13Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Concurrent programs that are free of unsynchronized accesses to shared data may still exhibit unpredictable concurrency errors, called atomicity violations, which include both high-level data races and stale-value errors. Atomicity violations occur when programmers make wrong assumptions about the atomicity scope of a code block, incorrectly splitting it in two or more atomic blocks and allowing them to be interleaved with other atomic blocks. In this paper we propose a novel static analysis algorithm that works on a dependency graph of program variables and detects both high-level data races and stale-value errors. The algorithm was implemented for a Java Bytecode analyzer and its effectiveness was evaluated with well known faulty programs. The results obtained show that our algorithm performs better than previous approaches, achieving higher precision for small and medium sized programs, making it a good basis for a practical tool. © 2013 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Dias, R. J., Pessanha, V., & Lourenço, J. M. (2013). Precise detection of atomicity violations. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7857 LNCS, pp. 8–23). Springer Verlag. https://doi.org/10.1007/978-3-642-39611-3_8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free