ACM SIGPLAN Notices · 2011 · 26 citations · 16 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureParallel ComputingConcurrency AnalysisConcurrency ControlConcurrent ProgrammingParallel Programming ModelsConcurrency ModelsConcurrency SemanticsDeterministic ConcurrencyDeterministic Parallel ProgrammingParallel Concurrency Control
Weaving a concurrency control protocol into a program is difficult and error-prone. One way to alleviate this burden is deterministic parallelism . In this well-studied approach to parallelisation, a sequential program is annotated with sections that can execute concurrently, with automatically injected control constructs used to ensure observable behaviour consistent with the original program. This paper examines the formal specification and verification of these constructs. Our high-level specification defines the conditions necessary for correct execution; these conditions reflect program dependencies necessary to ensure deterministic behaviour. We connect the high-level specification used by clients of the library with the low-level library implementation, to prove that a client's requirements for determinism are enforced. Significantly, we can reason about program and library correctness without breaking abstraction boundaries. To achieve this, we use concurrent abstract predicates , based on separation logic, to encapsulate racy behaviour in the library's implementation. To allow generic specifications of libraries that can be instantiated by client programs, we extend the logic with higher-order parameters and quantification. We show that our high-level specification abstracts the details of deterministic parallelism by verifying two different low-level implementations of the library.
16
Resources, concurrency, and local reasoning
Peter W. O’Hearn · Theoretical Computer Science · 2007 · 558 citations
Checking interference with fractional permissions
2003 · 388 citations
Separation logic and abstraction
Matthew Parkinson, Gavin Bierman · 2005 · 308 citations
A type and effect system for deterministic parallel Java
Robert L. Bocchino, Vikram Adve, Danny Dig et al. · ACM SIGPLAN Notices · 2009 · 296 citations