首页 | 官方网站   微博 | 高级检索  
     

基于上下文定界的Fork/Join并行性的并发程序可达性分析
引用本文:钱俊彦,贾书贵,蔡国永,赵岭忠. 基于上下文定界的Fork/Join并行性的并发程序可达性分析[J]. 计算机工程与科学, 2013, 35(2): 1-6
作者姓名:钱俊彦  贾书贵  蔡国永  赵岭忠
作者单位:1. 桂林电子科技大学计算机科学与工程学院,广西桂林541004;并行与分布处理国家重点实验室,湖南长沙410073
2. 桂林电子科技大学计算机科学与工程学院,广西桂林,541004
基金项目:国家自然科学基金资助项目,中国博士后基金资助项目,广西自然科学基金资助项目,广西高等学校优秀人才资助计划资助项目,广西可信软件重点实验室开放基金,广西研究生科研创新项目资助项目
摘    要:随着多核技术日益发展,并发程序通过引入Fork/Join并行性,将任务分解为更细粒度的子任务并行执行,从而充分利用多核处理器提供的计算性能。并发执行线程之间的交错可能产生隐匿的程序设计错误,因此有必要对此类并发程序的正确性进行分析。上下文定界分析方法是一种检测并发程序中隐匿错误的高效方法,计算线程有限次上下文切换内的可达状态,确定错误状态是否可达。针对Fork/Join并行性的并发程序的可达性分析思想如下:首先,动态并发程序被建模为可模拟线程Fork/Join操作的动态并发下推系统P;然后从P中提取模拟其k-定界执行的并发下推系统Pk。现有的上下文定界可达算法可解决提取后的并发下推系统的k-定界可达性问题。

关 键 词:上下文定界  并发  可达性分析  Fork/Join并行性  动态线程创建
收稿时间:2012-03-11
修稿时间:2012-06-15

Context-bounded analysis of concurrent programs with Fork/Join parallelism
QIAN Jun-yan , JIA Shu-gui , CAI Guo-yong , ZHAO Ling-zhong. Context-bounded analysis of concurrent programs with Fork/Join parallelism[J]. Computer Engineering & Science, 2013, 35(2): 1-6
Authors:QIAN Jun-yan    JIA Shu-gui    CAI Guo-yong    ZHAO Ling-zhong
Affiliation:(1.School of Computer Science and Engineering,Guilin University of Electronic Technology,Guilin 541004; 2.National Key Laboratory for Parallel and Distributed Processing,Changsha 410073,China)
Abstract:As multi core technique has been well developed, in order to utilize the computing power provided by multi core processor, concurrent programs bring in Fork/Join parallelism to decompose a task into fine grained subtasks. But interaction among concurrent threads results in insidious programming errors, it is necessary to analyze the correctness of these concurrent programs. Context bounded analysis is an efficient method for finding insidious errors in concurrent programs by computing reachable states in a run within a bounded number of context switches, it determines whether an error state is reachable or not. In this paper, we perform reachablility analysis for concurrent programs with Fork/Join parallelism. The main idea is as follows: dynamic concurrent programs is modeled as an abstract model dynamic concurrent pushdown system P, the abstract model can simulate the Fork/Join operation, then a concurrent pushdown system P can be abstracted from dynamic pushdown system that simulate the k bounded execution of P, and the k reachability problems of abstracted Pk can be solved by existing context bounded reachability algorithm.
Keywords:context bounded  concurrency  reachability analysis  fork/join parallelism  dynamic thread creation
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号