Atomizer: a dynamic atomicity checker for multithreaded programs
The DOI matches its Crossref record; 32 of the 32 references it cites were found in a registry or an index.
Abstract
Ensuring the correctness of multithreaded programs is difficult, due to the potential for unexpected interactions between concurrent threads. Much previous work has focused on detecting race conditions, but the absence of race conditions does not by itself prevent undesired thread interactions. We focus on the more fundamental non-interference property of atomicity; a method is atomic if its execution is not affected by and does not interfere with concurrently-executing threads. Atomic methods can be understood according to their sequential semantics, which significantly simplifies (formal and informal) correctness arguments.This paper presents a dynamic analysis for detecting atomicity violations. This analysis combines ideas from both Lipton's theory of reduction and earlier dynamic race detectors. Experience with a prototype checker for multithreaded Java code demonstrates that this approach is effective for detecting errors due to unintended interactions between threads. In particular, our atomicity checker detects errors that would be missed by standard race detectors, and it produces fewer false alarms on benign races that do not cause atomicity violations. Our experimental results also indicate that the majority of methods in our benchmarks are atomic, supporting our hypothesis that atomicity is a standard methodology in multithreaded programming.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The Java Language Specification
Gosling, J., Joy, B., & Steele, G. L. (1996) · Cited by 3,924
Linearizability: a correctness condition for concurrent objects
Herlihy, M. P., & Wing, J. M. (1990) · ACM Transactions on Programming Languages and Systems · doi:10.1145/78969.78972 · Cited by 3,176
Eraser: a dynamic data race detector for multithreaded programs
Savage, S., Burrows, M., Nelson, G., Sobalvarro, P., & Anderson, T. (1997) · ACM Transactions on Computer Systems · doi:10.1145/265924.265927 · Cited by 1,572
Monitors: an operating system structuring concept
Hoare, C. A. R. (1974) · Communications of the ACM · doi:10.1145/355620.361161 · Cited by 1,496
Extended static checking for Java
Flanagan, C., Leino, K. R. M., Lillibridge, M., Nelson, G., Saxe, J. B., & Stata, R. (2002) · Proceedings of the ACM SIGPLAN 2002 conference on Programming language design and implementation · doi:10.1145/512529.512558 · Cited by 1,340
Self-citationManson, J., Pugh, W., & Adve, S. V. (2005) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/1040305.1040336 · Cited by 775
Language support for lightweight transactions
Harris, T., & Fraser, K. A. (2014) · ACM SIGPLAN Notices · doi:10.1145/2641638.2641654 · Cited by 633
Ownership types for safe programming: preventing data races and deadlocks
Boyapati, C., Lee, R., & Rinard, M. (2002) · Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications - OOPSLA '02 · doi:10.1145/582419.582440 · Cited by 570
The theory of database concurrency control
Papadimitriou, C. H. (1986) · Cumulative Index of Computer Aided Architectural Design · Cited by 489
Type-based race detection for Java
Flanagan, C., & Freund, S. N. (2000) · Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation · doi:10.1145/349299.349328 · Cited by 446
Self-citationEfficient and precise datarace detection for multithreaded object-oriented programs
Choi, J.-D., Lee, K., Loginov, A., O'Callahan, R., Sarkar, V., & Sridharan, M. (2002) · Proceedings of the ACM SIGPLAN 2002 conference on Programming language design and implementation · doi:10.1145/512529.512560 · Cited by 441
Hybrid dynamic data race detection
O'Callahan, R., & Choi, J.-D. (2003) · Proceedings of the ninth ACM SIGPLAN symposium on Principles and practice of parallel programming · doi:10.1145/781498.781528 · Cited by 432
von Praun, C., & Gross, T. R. (2001) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/504282.504288 · Cited by 353
A type and effect system for atomicity
Flanagan, C., & Qadeer, S. (2003) · ACM SIGPLAN Notices · doi:10.1145/780822.781169 · Cited by 304
Self-citationA parameterized type system for race-free Java programs
Boyapati, C., & Rinard, M. (2001) · Proceedings of the 16th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications · doi:10.1145/504282.504287 · Cited by 296
A type and effect system for atomicity
Flanagan, C., & Qadeer, S. (2003) · Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation · doi:10.1145/781131.781169 · Cited by 241
Self-citationEfficient on-the-fly data race detection in multithreaded C++ programs
Pozniansky, E., & Schuster, A. (2003) · ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming · doi:10.1145/781498.781529 · Cited by 206
Artho, C., Havelund, K., & Biere, A. (2003) · Software Testing, Verification and Reliability · doi:10.1002/stvr.281 · Cited by 189
Process structuring, synchronization, and recovery using atomic actions
Lomet, D. B. (1977) · ACM SIGOPS Operating Systems Review · doi:10.1145/390018.808319 · Cited by 173
PS-algol: an algol with a persistent heap
Atkinson, M., Chisholm, K., & Cockshott, P. (1982) · ACM SIGPLAN Notices · doi:10.1145/988376.988378 · Cited by 160
Type-safe multithreading in cyclone
Grossman, D. (2003) · Types In Languages Design And Implementation · doi:10.1145/604174.604177 · Cited by 159
Static conflict analysis for multi-threaded object-oriented programs
von Praun, C., & Gross, T. R. (2003) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/781131.781145 · Cited by 135
Static conflict analysis for multi-threaded object-oriented programs
von Praun, C., & Gross, T. R. (2003) · ACM SIGPLAN Notices · doi:10.1145/780822.781145 · Cited by 134
Efficient on-the-fly data race detection in multithreaded C++ programs
Pozniansky, E., & Schuster, A. (2004) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2003.1213513 · Cited by 127
Flanagan, C., & Qadeer, S. (2003) · Types In Languages Design And Implementation · doi:10.1145/604174.604176 · Cited by 126
Self-citationDetecting race conditions in large programs
Cormac Flanagan, A., & Freund, S. N. (2001) · ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering (PASTE) · doi:10.1145/379605.379687 · Cited by 94
Self-citationDetecting deadlocks in concurrent systems
Fajstrup, L., Goubault, É., & Raußen, M. (1998) · Lecture notes in computer science · doi:10.1007/bfb0055632 · Cited by 83
Process structuring, synchronization, and recovery using atomic actions
Lomet, D. (1977) · doi:10.1145/800022.808319 · Cited by 72
Type Inference for Parameterized Race-Free Java
Agarwal, R., & Stoller, S. D. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-24622-0_14 · Cited by 69
Exploiting purity for atomicity
Cormac Flanagan, A., Freund, S. N., & Qadeer, S. (2004) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/1007512.1007543 · Cited by 67
Self-citationVerifying Commit-Atomicity Using Model-Checking
Cormac Flanagan, A. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-24732-6_18 · Cited by 57
An empirical comparison of static concurrency analysis techniques
Chamillard, A. T., & Clarke, L. A. (1996) · Cited by 38
Cited by
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110
“Concurrent programs suffer most from three kinds of access anomalies: data race [32], [321], atomicity violation [110], [113], [115], and atomic-set serializability violations [24], [44].”
BackgroundLearning from mistakes: a comprehensive study on real world concurrency bug characteristics
Lu, S., Park, S., Seo, E., & Zhou, Y. (2008) · Proceedings of the 13th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1346281.1346323 · Cited by 895
Iterative context bounding for systematic testing of multithreaded programs
Musuvathi, M., & Qadeer, S. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250785 · Cited by 483
Effective static race detection for Java
Naik, M., Aiken, A., & Whaley, J. (2006) · Proceedings of the 27th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1133981.1134018 · Cited by 431
Effective static race detection for Java
Naik, M., Aiken, A., & Whaley, J. (2006) · ACM SIGPLAN Notices · doi:10.1145/1133255.1134018 · Cited by 408
Metadata
- Authors
- Flanagan, C., & Freund, S. N.
- Venue
- Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
- Publisher
- ACM
- Published
- 2004-01
- Pages
- 256-267
- OpenAlex
- W2082766667
- Cited by
- 409
- References
- 32
- FWCI
- 22.07
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.