首页> 外文会议>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定理,依次良好地进行了良好的配置。 。我们还表明,依赖于良好的配置,依靠保证推理是合理的,但不是用于合理的配置。例如,合理的配置是类型安全的.Well-andification允许许多,但并非由轻松的内存执行的所有重新排序。特别是,它无法验证独立读取的换向。我们讨论可能解决这些缺点的变化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号