15/11/2020

Pomsets with Preconditions: A Simple Model of Relaxed Memory

Radha Jagadeesan, Alan Jeffrey, James Riely

Keywords: Compiler Optimizations, Relaxed Memory Models, ARMv8, Multi-Copy Atomicity, Thin-Air Reads, Preconditions, Concurrency, Temporal Safety Properties, Pomsets

Abstract: Relaxed memory models must simultaneously achieve efficient implementability and thread-compositional reasoning. Is that why they have become so complicated? We argue that the answer is no: It is possible to achieve these goals by combining an idea from the 60s (preconditions) with an idea from the 80s (pomsets), at least for X64 and ARMv8. We show that the resulting model (1) supports compositional reasoning for temporal safety properties, (2) supports all expected sequential compiler optimizations, (3) satisfies the DRF-SC criterion, and (4) compiles to X64 and ARMv8 microprocessors without requiring extra fences on relaxed accesses.

 0
 0
 0
 0
This is an embedded video. Talk and the respective paper are published at OOPSLA 2020 virtual conference. If you are one of the authors of the paper and want to manage your upload, see the question "My papertalk has been externally embedded..." in the FAQ section.

Comments

Post Comment
no comments yet
code of conduct: tbd

Similar Papers