首页> 外文期刊>Automated software engineering >JRF-E: using model checking to give advice on eliminating memory model-related bugs
【24h】

JRF-E: using model checking to give advice on eliminating memory model-related bugs

机译:JRF-E:使用模型检查为消除与内存模型相关的错误提供建议

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

摘要

According to modern relaxed memory models, programs that contain data races need not be sequentially consistent. Executions that are not sequentially con sistent may exhibit surprising behavior such as operations on a thread occurring in a different order than indicated by the source code, or different threads having incon sistent views of updates of shared variables. Java Racefinder (JRF) is an extension of Java Pathfinder (JPF), a model checker for Java bytecode. JRF precisely detects data races as defined by the Java memory model and can thus be used to verify sequential consistency. We describe an extension to JRF, JRF-Eliminator (JRF-E), that analyzes information collected during model checking, specifically counterexample traces and acquiring histories, and provides advice to the programmer on how to eliminate de tected data races from a program. Once data races have been eliminated, standard model checking and other verification techniques that implicitly assume sequential consistency can be soundly employed to verify additional properties.
机译:根据现代的宽松内存模型,包含数据争用的程序不必顺序一致。顺序不一致的执行可能会表现出令人惊讶的行为,例如对线程的操作以与源代码所指示的顺序不同的顺序发生,或者不同的线程对共享变量的更新具有不一致的观点。 Java Racefinder(JRF)是Java Pathfinder(JPF)的扩展,JPF是Java字节码的模型检查器。 JRF精确地检测Java内存模型定义的数据竞争,因此可以用来验证顺序一致性。我们描述了JRF的扩展,即JRF-Eliminator(JRF-E),它可以分析在模型检查过程中收集的信息,特别是反示例跟踪和获取历史记录,并为程序员提供有关如何从程序中消除检测到的数据竞争的建议。一旦消除了数据争用,可以合理地采用标准模型检查和其他隐式假定顺序一致性的验证技术来验证其他属性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号