首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >NDSeq: runtime checking for nondeterministic sequential specifications of parallel correctness
【24h】

NDSeq: runtime checking for nondeterministic sequential specifications of parallel correctness

机译:NDSeq:运行时检查并行性的不确定性顺序规范

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

摘要

We propose to specify the correctness of a program's parallelism using a sequential version of the program with controlled nondeterminism. Such a nondeterministic sequential specification allows (1) the correctness of parallel interference to be verified independently of the program's functional correctness, and (2) the functional correctness of a program to be understood and verified on a sequential version of the program, one with controlled nondeterminism but no interleaving of parallel threads. We identify a number of common patterns for writing nondeterministic sequential specifications. We apply these patterns to specify the parallelism correctness for a variety of parallel Java benchmarks, even in cases when the functional correctness is far too complex to feasibly specify. We describe a sound runtime checking technique to validate that an execution of a parallel program conforms to its nondeterministic sequential specification. The technique uses a novel form of conflict-serializability checking to identify, for a given interleaved execution of a parallel program, an equivalent nondeterministic sequential execution. Our experiments show a significant reduction in the number of false positives versus traditional conflictserializability in checking for parallelization bugs.
机译:我们建议使用具有受控不确定性的程序的顺序版本来指定程序并行性的正确性。这种不确定的顺序规范允许(1)独立于程序的功能正确性来验证并行干扰的正确性,以及(2)在程序的顺序版本上理解和验证程序的功能正确性,其中一个程序受控制不确定性,但不交叉并行线程。我们确定了一些用于编写不确定性顺序规范的常见模式。我们使用这些模式为各种并行Java基准测试指定并行性正确性,即使在功能正确性过于复杂而无法切实指定的情况下也是如此。我们描述了一种合理的运行时检查技术,以验证并行程序的执行是否符合其不确定的顺序规范。该技术使用一种新颖形式的冲突可序列化检查,以针对给定的并行程序交错执行识别等效的不确定性顺序执行。我们的实验表明,在检查并行化错误时,与传统的冲突化能力相比,误报的数量大大减少。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号