首页> 外国专利> FAST AND ACCURATE DATA RACE DETECTION FOR CONCURRENT PROGRAMS WITH ASYNCHRONOUS CALLS

FAST AND ACCURATE DATA RACE DETECTION FOR CONCURRENT PROGRAMS WITH ASYNCHRONOUS CALLS

机译:带有异步调用的并行程序的快速准确的数据种族检测

摘要

A system and method for analyzing a concurrent program employ asynchronous function calls for communication and recursion. A control flow graph is constructed based on a context-sensitive pointer analysis, whereupon encountering a function pointer, a points-to set of the function pointer is computed in a context-sensitive fashion to determine a set of potential function calls. The context-sensitive pointer analysis is terminated when no new potential function calls are encountered and where the potential function calls may contribute new data races other than those that exist in the contexts traversed thus far. To decide this, a characterization of pointer aliasing based upon complete update sequences is employed. A set of contexts that may contribute to different data races are enumerated by tracking update sequences for function and lock pointers and pointers that are shared or point to shared memory locations. Data race detection is carried out on the control flow graph.
机译:用于分析并发程序的系统和方法采用异步函数调用进行通信和递归。基于上下文敏感的指针分析构造控制流图,随后遇到功能指针,以上下文敏感的方式计算该函数指针的指向集,以确定一组潜在的函数调用。当没有遇到新的潜在函数调用并且潜在函数调用可能会贡献新的数据竞争(而不是到目前为止遍历的上下文中存在的竞争)时,上下文敏感指针分析将终止。为了决定这一点,采用了基于完整更新序列的指针别名的表征。通过跟踪功能和锁指针以及共享或指向共享内存位置的指针的更新序列,来枚举可能导致不同数据竞争的一组上下文。在控制流程图上执行数据竞争检测。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号