首页> 外文会议>ACM SIGPLAN Conference on Programming Language Design and Implementation >MemSAT: Checking Axiomatic Specifications of Memory Models
【24h】

MemSAT: Checking Axiomatic Specifications of Memory Models

机译:Memsat:检查内存模型的公理规格

获取原文

摘要

Memory models are hard to reason about due to their complexity, which stems from the need to strike a balance between ease-of-programming and allowing compiler and hardware optimizations. In this paper, we present an automated tool, MEMSAT, that helps in debugging and reasoning about memory models. Given an axiomatic specification of a memory model and a multi-threaded test program containing assertions, MEMSAT outputs a trace of the program in which both the assertions and the memory model axioms are satisfied, if one can be found. The tool is fully automatic and is based on a SAT solver. If it cannot find a trace, it outputs a minimal subset of the memory model and program constraints that are unsatisfiable. We used MEMSAT to check several existing memory models against their published test cases, including the current Java Memory Model by Manson et al. and a revised version of it by Sevcik and Aspinall. We found subtle discrepancies between what was expected and the actual results of test programs.
机译:由于它们的复杂性,内存模型很难原因,这源于需要在易于编程之间进行平衡并允许编译器和硬件优化之间的平衡。在本文中,我们介绍了一个自动化工具Memsat,有助于调试和推理关于内存模型。鉴于存储器模型的公理规范和包含断言的多线程测试程序,MEMSAT输出了一个程序的迹线,其中满足断言和内存模型公理,如果找到一个。该工具完全自动,并且基于SAT求解器。如果找不到跟踪,它会输出内存模型的最小子集和不可或缺的程序约束。我们使用Memsat来检查其发布的测试用例的几个现有内存模型,包括Manson等人的当前Java Memory Model。和Sevcik和Aspinall的修订版。我们发现了预期的内容和测试计划的实际结果之间的微妙差异。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号