首页> 外文会议>International conference on formal engineering methods >Verification of Static and Dynamic Barrier Synchronization Using Bounded Permissions
【24h】

Verification of Static and Dynamic Barrier Synchronization Using Bounded Permissions

机译:使用有限权限验证静态和动态屏障同步

获取原文

摘要

Mainstream languages such as C/C++ (with Pthreads), Java, and .NET provide programmers with both static and dynamic barriers for synchronizing concurrent threads in fork/join programs. However, such barrier synchronization in fork/join programs is hard to verify since programmers must not only keep track of the dynamic number of participating threads, but also ensure that all participants proceed in correctly synchronized phases. As barriers are commonly used in practice, verifying correct synchronization of barriers can provide compilers and analysers with important phasing information for improving the precision of their analyses and optimizations. In this paper, we propose an approach for statically verifying correct synchronization of static and dynamic barriers in fork/join programs. We introduce the notions of bounded permissions and phase numbers for keeping track of the number of participating threads and barrier phases respectively. The approach has been proven sound, and a prototype of it (named VeriBSync) has been implemented for verifying barrier synchronization of realistic programs in the SPLASH-2 benchmark suite.
机译:诸如C / C ++(带有Pthreads),Java和.NET之类的主流语言为程序员提供了静态和动态屏障,可用于同步fork / join程序中的并发线程。但是,在fork / join程序中,这种屏障同步很难验证,因为程序员不仅必须跟踪参与线程的动态数量,而且还必须确保所有参与者都处于正确同步的阶段。由于屏障通常在实践中使用,因此验证屏障的正确同步可以为编译器和分析器提供重要的相位信息,以提高其分析和优化的精度。在本文中,我们提出了一种用于静态验证fork / join程序中静态和动态障碍的正确同步的方法。我们引入了有限权限和阶段编号的概念,以分别跟踪参与线程和障碍阶段的数量。该方法已被证明是合理的,并且已经实现了它的原型(名为VeriBSync),用于验证SPLASH-2基准套件中现实程序的屏障同步。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号