【24h】

Java Memory Model-Aware Model Checking

机译:Java内存模型感知模型检查

获取原文
获取原文并翻译 | 示例

摘要

The Java memory model guarantees sequentially consistent behavior only for programs that are data race free. Legal executions of programs with data races may be sequentially inconsistent but are sub ject to constraints that ensure weak safety properties. Occasionally, one allows programs to contain data races for performance reasons and these constraints make it possible, in principle, to reason about their correct ness. Because most model checking tools, including Java Pathfinder, only generate sequentially consistent executions, they are not sound for pro grams with data races. We give an alternative semantics for the JMM that characterizes the legal executions as a least fixed point and show that this is an overapproximation of the JMM. We have extended Java Pathfinder to generate these executions, yielding a tool that can be soundly used to reason about programs with data races.
机译:Java内存模型仅针对无数据争用的程序保证顺序一致的行为。具有数据竞争的程序的合法执行可能顺序不一致,但受确保弱安全性的约束条件的约束。有时,出于性能原因,允许程序包含数据争用,并且这些限制原则上可以使它们的正确性推理。因为大多数模型检查工具(包括Java Pathfinder)仅生成顺序一致的执行,所以对于进行数据竞争的程序来说,它们听起来并不合理。我们为JMM提供了一种替代语义,该语义将法律执行的特征描述为最小固定点,并表明这是JMM的过度逼近。我们扩展了Java Pathfinder来生成这些执行,从而生成了一个可以合理地用于推理具有数据争用的程序的工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号