Effective software specifications enable modular reasoning, allowing clients to establish program properties without knowing the details of module implementations. While some modules’ operations behave atomically, others admit weaker consistencies to increase performance. Consequently, since current methodologies do not capture the guarantees provided by operations of varying non-atomic consistencies, specifications are ineffective, forfeiting the ability to establish properties of programs that invoke non-atomic operations.
In this work we develop a methodology for specifying software modules whose operations satisfy multiple distinct consistency levels. In particular, we develop a simple annotation language for specifying weakly-consistent operations via visibility relaxation, wherein annotations impose varying constraints on the visibility among operations. To integrate with modern software platforms, we identify a novel characterization of consistency called sequential happens-before consistency, which admits effective validation. Empirically, we demonstrate the efficacy of our approach by deriving and validating relaxed-visibility specifications for Java concurrent objects. Furthermore, we demonstrate an optimality of our annotation language, empirically, by establishing that even finer-grained languages do not capture stronger specifications for Java objects.
Slides (visibility-relaxation.pdf) | 2.24MiB |
Wed 16 JanDisplayed time zone: Belfast change
10:35 - 12:03 | |||
10:35 22mTalk | A True Positives Theorem for a Static Race Detector Research Papers Nikos Gorogiannis , Peter W. O'Hearn Facebook and University College London, Ilya Sergey Yale-NUS College and National University of Singapore Link to publication DOI Pre-print Media Attached File Attached | ||
10:57 22mTalk | Decoupling Lock-Free Data Structures from Memory Reclamation for Static Analysis Research Papers Link to publication DOI Pre-print Media Attached File Attached | ||
11:19 22mTalk | Pretend Synchrony: Synchronous Verification of Asynchronous Distributed Programs Research Papers Klaus v. Gleissenthall University of California at San Diego, USA, Rami Gökhan Kıcı University of California at San Diego, USA, Alexander Bakst , Deian Stefan University of California San Diego, Ranjit Jhala University of California, San Diego Link to publication DOI Media Attached | ||
11:41 22mTalk | Weak-Consistency Specification via Visibility Relaxation Research Papers Link to publication DOI Media Attached File Attached |