skip to main content
10.1145/2676724.2693181acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
invited-talk

Formal Reasoning about the C11 Weak Memory Model

Published: 13 January 2015 Publication History

Abstract

This abstract introduces the C11 weak memory model, summarises known verification results, and discusses some open problems.

References

[1]
M. Batty, S. Owens, S. Sarkar, P. Sewell, and T. Weber. Mathematizing C++ concurrency. In POPL, pages 55--66, 2011.
[2]
M. Batty, K. Memarian, S. Owens, S. Sarkar, and P. Sewell. Clarifying and compiling C/C++ concurrency: From C++ 11 to POWER. In POPL, pages 509--520, 2012.
[3]
H.-J. Boehm and S. V. Adve. Foundations of the C++concurrency memory model. In PLDI, pages 68--78, 2008.
[4]
A. Bouajjani, R. Meyer, and E. Möhlmann. Deciding robustness against total store ordering. In ICALP (2), pages 428--440, 2011.
[5]
M. Desnoyers, P. E. McKenney, A. S. Stern, M. R. Dagenais, and J. Walpole. User-level implementations of read-copy update. IEEE Trans. Parallel Distrib. Syst., 23 (2): 375--382, 2012.
[6]
ISO/IEC 14882:2011. Programming language C++ 2011.
[7]
R. Morisset, P. Pawan, and F. Zappa Nardelli. Compiler testing via a theory of sound optimisations in the C11/C++ 11 memory model. In PLDI, pages 187--196, 2013.
[8]
P. W. O'Hearn. Resources, concurrency, and local reasoning. Theor. Comput. Sci., 375 (1--3): 271--307, 2007.
[9]
S. Owens, S. Sarkar, and P. Sewell. A better x86 memory model: x86-TSO. In TPHOLs, pages 391--407, 2009.
[10]
S. Sarkar, K. Memarian, S. Owens, M. Batty, P. Sewell, L. Maranget, J. Alglave, and D. Williams. Synchronising C/C++ and POWER. In PLDI, pages 311--322, 2012.
[11]
J. Sevcik. Safe optimisations for shared-memory concurrent programs. In PLDI, pages 306--316, 2011.
[12]
J. Sevcik, V. Vafeiadis, F. Zappa Nardelli, S. Jagannathan, and P. Sewell. CompCertTSO: A verified compiler for relaxed-memory concurrency. J. ACM, 60 (3): 22, 2013.
[13]
A. Turon, V. Vafeiadis, and D. Dreyer. GPS: Navigating weak memory with ghosts, protocols, and separation. In OOPSLA, pages 691--707, 2014.
[14]
V. Vafeiadis and C. Narayan. Relaxed separation logic: A program logic for C11 concurrency. In OOPSLA, pages 867--884, 2013.
[15]
V. Vafeiadis, T. Balabonski, S. Chakraborty, R. Morisset, and F. Zappa Nardelli. Common compiler optimisations are invalid in the C11 memory model and what we can do about it. In POPL, 2015.

Cited By

View all
  • (2018)Static Code Verification Through Process ModelsLeveraging Applications of Formal Methods, Verification and Validation. Distributed Systems10.1007/978-3-030-03424-5_23(343-354)Online publication date: 5-Nov-2018
  • (2016)Observation-Based Concurrent Program Logic for Relaxed Memory Consistency ModelsProgramming Languages and Systems10.1007/978-3-319-47958-3_4(63-84)Online publication date: 9-Oct-2016

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
CPP '15: Proceedings of the 2015 Conference on Certified Programs and Proofs
January 2015
192 pages
ISBN:9781450332965
DOI:10.1145/2676724
  • Program Chairs:
  • Xavier Leroy,
  • Alwen Tiu
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 January 2015

Check for updates

Author Tags

  1. concurrency
  2. program logic
  3. weak memory models

Qualifiers

  • Invited-talk

Funding Sources

Conference

POPL '15
Sponsor:

Acceptance Rates

CPP '15 Paper Acceptance Rate 18 of 26 submissions, 69%;
Overall Acceptance Rate 18 of 26 submissions, 69%

Upcoming Conference

POPL '26

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)2
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2018)Static Code Verification Through Process ModelsLeveraging Applications of Formal Methods, Verification and Validation. Distributed Systems10.1007/978-3-030-03424-5_23(343-354)Online publication date: 5-Nov-2018
  • (2016)Observation-Based Concurrent Program Logic for Relaxed Memory Consistency ModelsProgramming Languages and Systems10.1007/978-3-319-47958-3_4(63-84)Online publication date: 9-Oct-2016

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media