首页> 外文会议>Annual ACM/IEEE Symposium on Logic in Computer Science >On Thin Air Reads Towards an Event Structures Model of Relaxed Memory
【24h】

On Thin Air Reads Towards an Event Structures Model of Relaxed Memory

机译:在稀薄的空气中读向轻松记忆的事件结构模型

获取原文

摘要

This is the first paper to propose a pure event structures model of relaxed memory. We propose confusion-free event structures over an alphabet with a justification relation as a model. Executions are modeled by justified configurations, where every read event has a justifying write event. Justification alone is too weak a criterion, since it allows cycles of the kind that result in so-called thin-air reads. Acyclic justification forbids such cycles, but also invalidates event reorderings that result from compiler optimizations and dynamic instruction scheduling. We propose a notion well-justification, based on a game-like model, which strikes a middle ground.We show that well-justified configurations satisfy the DRF theorem: in any data-race free program, all well-justified configurations are sequentially consistent. We also show that rely-guarantee reasoning is sound for well-justified configurations, but not for justified configurations. For example, well-justified configurations are type-safe.Well-justification allows many, but not all reorderings performed by relaxed memory. In particular, it fails to validate the commutation of independent reads. We discuss variations that may address these shortcomings.
机译:这是第一篇提出松弛记忆的纯事件结构模型的论文。我们提出了一个以正则关系为模型的无混淆事件结构。执行由合理的配置建模,其中每个读取事件都有一个合理的写入事件。单靠对齐是一个太弱的标准,因为它允许产生所谓的稀疏读取的循环。非循环调整禁止这种循环,但也会使由编译器优化和动态指令调度产生的事件重新排序无效。我们提出了一个基于博弈模型的概念合理化,该理论达到了中等水平,我们证明了合理化的配置满足DRF定理:在任何无数据争用程序中,所有合理化的配置都是顺序一致的。我们还表明,对于合理合理的配置而言,依赖保证推理是合理的,但对于合理的配置则不可行。例如,合理调整的配置是类型安全的。合理调整允许轻松的内存执行许多但不是全部重新排序。特别是,它无法验证独立读取的交换。我们讨论了可以解决这些缺点的变体。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号