Modular data-race-freedom guarantees in the promising semantics

Minki Cho, Sung Hwan Lee, Chung Kil Hur, Ori Lahav

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Local data-race-freedom guarantees, ensuring strong semantics for locations accessed by non-racy instructions, provide a fruitful methodology for modular reasoning in relaxed memory concurrency. We observe that standard compiler optimizations are in inherent conflict with such guarantees in general fully-relaxed memory models. Nevertheless, for a certain strengthening of the promising model by Lee et al. that only excludes relaxed RMW-store reorderings, we establish multiple useful local data-racefreedom guarantees that enhance the programmability aspect of the model.We also demonstrate that the performance price of forbidding these reorderings is insignificant. To the best of our knowledge, these results are the first to identify a model that includes the standard concurrency constructs, supports the efficient mapping of relaxed reads and writes to plain hardware loads and stores, and yet validates several local data-race-freedom guarantees. To gain confidence, our results are fully mechanized in Coq.

Original languageEnglish
Title of host publicationPLDI 2021 - Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation
EditorsStephen N. Freund, Eran Yahav
Pages867-882
Number of pages16
ISBN (Electronic)9781450383912
DOIs
StatePublished - 18 Jun 2021
Event42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021 - Virtual, Online, Canada
Duration: 20 Jun 202125 Jun 2021

Publication series

NameProceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)

Conference

Conference42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021
Country/TerritoryCanada
CityVirtual, Online
Period20/06/2125/06/21

Keywords

  • Compiler Optimizations
  • Data Race Freedom
  • Operational Semantics
  • Relaxed Memory Concurrency

All Science Journal Classification (ASJC) codes

  • Software

Fingerprint

Dive into the research topics of 'Modular data-race-freedom guarantees in the promising semantics'. Together they form a unique fingerprint.

Cite this