期刊文献+

基于上下文定界的Fork/Join并行性的并发程序可达性分析

Context-bounded analysis of concurrent programs with Fork/Join parallelism
下载PDF
导出
摘要 随着多核技术日益发展,并发程序通过引入Fork/Join并行性,将任务分解为更细粒度的子任务并行执行,从而充分利用多核处理器提供的计算性能。并发执行线程之间的交错可能产生隐匿的程序设计错误,因此有必要对此类并发程序的正确性进行分析。上下文定界分析方法是一种检测并发程序中隐匿错误的高效方法,计算线程有限次上下文切换内的可达状态,确定错误状态是否可达。针对Fork/Join并行性的并发程序的可达性分析思想如下:首先,动态并发程序被建模为可模拟线程Fork/Join操作的动态并发下推系统P;然后从P中提取模拟其k-定界执行的并发下推系统Pk。现有的上下文定界可达算法可解决提取后的并发下推系统的k-定界可达性问题。 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.
出处 《计算机工程与科学》 CSCD 北大核心 2013年第2期1-6,共6页 Computer Engineering & Science
基金 国家自然科学基金资助项目(61063002 61262008) 中国博士后基金资助项目(20090450211) 广西自然科学基金资助项目(2011GXNSFA018164 2011GXNSFA018166) 广西高等学校优秀人才资助计划资助项目 广西可信软件重点实验室开放基金资助项目 广西研究生科研创新项目资助项目(2011105950812M19)
关键词 上下文定界 并发 可达性分析 FORK Join并行性 动态线程创建 context-bounded concurrency reachability analysis fork/join parallelism dynamic thread creation
  • 相关文献

参考文献7

  • 1Lea D. A Java fork/join framework[C]//Proc of 2000 ACM Java Grande Conference, 2000 : 36-43.
  • 2Queille J, Sifakis J. Specification and verification of concur- rent systems in CESAR[C]//Proc of the 5th International Symposium on Programming, 1981 : 337- 351.
  • 3Qadeer S. The case for context-bounded verification of con- current programs[C]//Proc of the 15th International Work- shop on Model Checking Software, 2008:3-6.
  • 4Atig M F, Bouajjani A, Qadeer S. Context-bounded analysis for concurrent programs with dynamic creation of threads[C] //Proc of the 15th International Conference on Tools and A1-gorithms for the Construction and Analysis of Systems, 2009:107-123.
  • 5Clarke E M, Grumberg O, Peled D A. Model checking[M]. Cambridge : MIT Press, 2000.
  • 6Autebert J M, Berstel J, Boasson L. Context free languages and pushdown automata[M]//Handbook of Formal Langua- ges, New York:Springer Verlag, 1997 : 111-174.
  • 7Schwoon S. Modebcheeking pushdown systems[D]. Munchen: Lehrstuhl fur Informatic VII der Teehnisehen University, 2000.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部