Title | Semantics for locking specifications |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Ernst MD, Macedonio D, Merro M, Spoto F |
Conference Name | NFM 2016: 8th NASA Formal Methods Symposium |
Pagination | 355-372 |
Date or Month Published | June |
Conference Location | Minneapolis, MN, USA |
Abstract | Lock-based synchronization disciplines, like Java's \texttt@GuardedBy, are widely used to prevent concurrency errors. However, their semantics is often expressed informally and is consequently ambiguous. This article highlights such ambiguities and overcomes them by formalizing two possible semantics of \texttt@GuardedBy, using a reference operational semantics for a core calculus of a concurrent Java-like language. It also identifies when such annotations are actual guarantees against data races. Our work aids in understanding the annotations and supports the development of sound tools that verify or infer them. |
Downloads | https://checkerframework.org/ checking implementation
https://homes.cs.washington.edu/~mernst/pubs/locking-semantics-nfm2016.pdf PDF
|
Citation Key | ErnstMMS2016 |