Type inference for atomicity
Cormac Flanagan A, Stephen N. Freund, Marina Lifshin · 2005
Atomicity is a fundamental correctness property in multithreaded programs. This paper presents an algorithm for verifying atomicity via type inference. The underlying type system supports guarded, write-guarded, and unguarded fields, as well as thread-local data, parameterized classes and methods, and protected locks. We describe an implementation of this algorithm for Java and discuss its performance and usability on benchmarks totaling sixty thousand lines of code.
Cited by 48 works. doi:10.1145/1040294.1040299
Authors
References
- Graph-Based Algorithms for Boolean Function Manipulation
- Linearizability: a correctness condition for concurrent objects
- Language support for lightweight transactions
- Type-based race detection for Java
- The theory of database concurrency control
- Polymorphic effect systems
- Partial-Order Methods for the Verification of Concurrent Systems: An Approach to the State-Explosion Problem
- Implementation of the typed call-by-value λ-calculus using a stack of regions
- Language support for lightweight transactions
- Reduction