• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (2): 1-6.

• 论文 •     Next Articles

Contextbounded analysis of concurrent programs with Fork/Join parallelism

QIAN Junyan1,2,JIA Shugui1,CAI Guoyong1,ZHAO Lingzhong1   

  1. (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)
  • Received:2012-03-11 Revised:2012-06-15 Online:2013-02-25 Published:2013-02-25

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.

Key words: contextbounded;concurrency;reachability analysis;fork/join parallelism;dynamic thread creation