Sound Atomicity Inference for Data-Centric Synchronization
Herv\'e Paulino, Ana Almeida Matos, Jan Cederquist, Marco Giunti,, Jo\~ao Matos, and Ant\'onio Ravara

TL;DR
This paper introduces AtomiS, a type-based static analysis and code generation framework for data-centric concurrency control that simplifies programming and guarantees atomicity and deadlock-freedom in object-oriented programs.
Contribution
It presents a novel type-sound language and analysis for data-centric concurrency, enabling automatic concurrency control code generation with formal guarantees.
Findings
Formal guarantees of well-typed generated code
Mechanised proofs in Coq for correctness
Java implementation demonstrating practical applicability
Abstract
Data-Centric Concurrency Control (DCCC) shifts the reasoning about concurrency restrictions from control structures to data declaration. It is a high-level declarative approach that abstracts away from the actual concurrency control mechanism(s) in use. Despite its advantages, the practical use of DCCC is hindered by the fact that it may require many annotations and/or multiple implementations of the same method to cope with differently qualified parameters. Moreover, the existing DCCC solutions do not address the use of interfaces, precluding their use in most object-oriented programs. To overcome these limitations, in this paper we present AtomiS, a new DCCC model based on a rigorously defined type-sound programming language. Programming with AtomiS requires only (atomic)-qualifying types of parameters and return values in interface definitions, and of fields in class definitions.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Parallel Computing and Optimization Techniques · Advanced Data Storage Technologies
