Lune

POPL2022顶会

The leaky semicolon: compositional semantic dependencies for relaxed-memory concurrency

Alan Jeffrey, James Riely, Mark Batty, Simon Cooksey, Ilya Kaysin, Anton Podkopaev

2022年份
21被引次数
5顶会引用

摘要

Program logics and semantics tell a pleasant story about sequential composition: when executing (𝑆 1 ; 𝑆 2 ), we first execute 𝑆 1 then 𝑆 2 . To improve performance, however, processors execute instructions out of order, and compilers reorder programs even more dramatically. By design, single-threaded systems cannot observe these reorderings; however, multiple-threaded systems can, making the story considerably less pleasant. A formal attempt to understand the resulting mess is known as a "relaxed memory model. " Prior models either fail to address sequential composition directly, or overly restrict processors and compilers, or permit nonsense thin-air behaviors which are unobservable in practice.

To support sequential composition while targeting modern hardware, we enrich the standard event-based approach with preconditions and families of predicate transformers. When calculating the meaning of (𝑆 1 ; 𝑆 2 ), the predicate transformer applied to the precondition of an event 𝑒 from 𝑆 2 is chosen based on the set of events in 𝑆 1 upon which 𝑒 depends. We apply this approach to two existing memory models.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper5

问问它们各自怎么用它

它引用的顶会 Paper4

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖