...
首页> 外文期刊>International journal of parallel programming >GPS+: Reasoning About Fences and Relaxed Atomics
【24h】

GPS+: Reasoning About Fences and Relaxed Atomics

机译:GPS +:关于栅栏和原子松弛的推理

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

获取外文期刊封面封底 >>

       

摘要

In order to support efficient compilation to modern architectures, mainstream programming languages, such as C/ C++ and Java, have adopted weak (or relaxed) memory models. According to these weak memory models, multithreaded programs are allowed to exhibit behaviours that would have been inconsistent under the traditional strong (i. e., sequentially consistent) memory model. This makes the task of reasoning about concurrent programs even more challenging. The GPS framework, developed by Turon et al. (ACM OOPSLA, pp 691-707, 2014), has made a step forward towards tackling this challenge for the release-acquire fragment of the C11 memory model. By integrating ghost states, per-location protocols and separation logic, GPS can successfully verify programs with release-acquire atomics. In this paper, we introduced GPS+ to support a larger class of C11 programs, that is, programs with release-acquire atomics, relaxed atomics and release-acquire fences. Key elements of our proposed logic include two new types of assertions, a more expressive resource model and a set of new verification rules.
机译:为了支持对现代体系结构的高效编译,主流编程语言(例如C / C ++和Java)已采用了弱(或宽松)的内存模型。根据这些弱存储器模型,允许多线程程序表现出在传统的强(即,顺序一致)存储器模型下将不一致的行为。这使得对并发程序进行推理的任务更具挑战性。 GPS框架,由Turon等人开发。 (ACM OOPSLA,第691-707页,2014年)朝着解决C11内存模型的发布获取片段这一挑战迈出了一步。通过集成幻象状态,按位置的协议和分离逻辑,GPS可以成功地使用释放获取原子来验证程序。在本文中,我们介绍了GPS +以支持更大范围的C11程序,即具有释放获取原子,松弛原子和释放获取围栏的程序。我们提出的逻辑的关键元素包括两种新的断言类型,一个更具表现力的资源模型和一组新的验证规则。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号