Making Weak Memory Models Fair

12/02/2020
by   Ori Lahav, et al.
0

We observe that the standard notion of thread fairness is insufficient for guaranteeing termination of even the simplest shared-memory programs under weak memory models. Guaranteeing termination requires additional model-specific fairness constraints, which we call memory fairness. In the case of acyclic declarative memory models, such as TSO and RA, we show that memory fairness can be equivalently expressed in a uniform fashion as prefix-finiteness of an extended coherence order. This uniform memory fairness representation yields the first effective way for proving termination of spinloops under weak memory consistency.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/28/2023

Overcoming Memory Weakness with Unified Fairness

We consider the verification of liveness properties for concurrent progr...
research
05/20/2023

Proving Termination of C Programs with Lists

There are many techniques and tools to prove termination of C programs, ...
research
11/09/2020

Context-Bounded Verification of Liveness Properties for Multithreaded Shared-Memory Programs

We study context-bounded verification of liveness properties of multi-th...
research
10/30/2017

Fair Termination for Parameterized Probabilistic Concurrent Systems (Technical Report)

We consider the problem of automatically verifying that a parameterized ...
research
05/18/2022

Fair Termination of Multiparty Sessions

There exists a broad family of multiparty sessions in which the progress...
research
12/21/2022

Fair Must Testing for I/O Automata

The concept of must testing is naturally parametrised with a chosen comp...
research
05/21/2018

Constructing a Weak Memory Model

Weak memory models are a consequence of the desire on part of architects...

Please sign up or login with your details

Forgot password? Click here to reset