Atomizer: a dynamic atomicity checker for multithreaded programs. 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.

This software is also peer reviewed by journal TOMS.

References in zbMATH (referenced in 16 articles )

Showing results 1 to 16 of 16.
Sorted by year (citations)

  1. Beckert, Bernhard; Klebanov, Vladimir: A dynamic logic for deductive verification of multi-threaded programs (2013)
  2. Gligoric, Milos; Majumdar, Rupak: Model checking database applications (2013)
  3. Navabi, Armand; Zhang, Xiangyu; Jagannathan, Suresh: Dependence analysis for safe futures (2012)
  4. Guerraoui, Rachid; Henzinger, Thomas A.; Singh, Vasu: Verification of STM on relaxed memory models (2011)
  5. Wang, Chao; Kundu, Sudipta; Limaye, Rhishikesh; Ganai, Malay; Gupta, Aarti: Symbolic predictive analysis for concurrent programs (2011)
  6. Martin, Jean-Phillipe; Hicks, Michael; Costa, Manuel; Akritidis, Periklis; Castro, Miguel: Dynamically checking ownership policies in concurrent C/C++ programs (2010)
  7. Usui, Takayuki; Behrends, Reimer; Evans, Jacob; Smaragdakis, Yannis: Adaptive locks: combining transactions and locks for efficient concurrency (2010)
  8. Wang, Chao; Limaye, Rhishikesh; Ganai, Malay; Gupta, Aarti: Trace-based symbolic analysis for atomicity violations (2010)
  9. Groves, Lindsay; Colvin, Robert: Trace-based derivation of a scalable lock-free stack algorithm (2009)
  10. Sadowski, Caitlin; Freund, Stephen N.; Flanagan, Cormac: SingleTrack: a dynamic determinism checker for multithreaded programs (2009)
  11. Flanagan, Cormac; Freund, Stephen N.: Atomizer: A dynamic atomicity checker for multithreaded programs (2008)
  12. 0002, Bart Jacobs; Smans, Jan; Piessens, Frank; Schulte, Wolfram: A simple sequential reasoning approach for sound modular verification of mainstream multithreaded programs. (2007)
  13. Mühlenfeld, Arndt; Wotawa, Franz: Fault detection in multi-threaded C++ server applications. (2007)
  14. Wojcicki, Margaret A.; Strooper, Paul: Maximising the information gained from a study of static analysis technologies for concurrent software (2007)
  15. Eytani, Yaniv: Concurrent Java test generation as a search problem. (2006)
  16. Tasiran, Serdar; Qadeer, Shaz: Runtime refinement checking of concurrent data structures. (2005)