首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种改进的用于并发程序静态切片的程序依赖图
引用本文:肖健宇,张德运,陈海诠,董皓.一种改进的用于并发程序静态切片的程序依赖图[J].微电子学与计算机,2006,23(1):6-10.
作者姓名:肖健宇  张德运  陈海诠  董皓
作者单位:1. 西安交通大学电子与信息工程学院,陕西,西安,710049;邵阳学院,湖南,邵阳,422000
2. 西安交通大学电子与信息工程学院,陕西,西安,710049
摘    要:分析了Krinke切片算法,发现当对程序循环体内嵌套有一个或多个线程的结构时会产生切片不精确的现象.原因是Krinke算法的数据结构所定义的线程间数据依赖关系过于粗糙,相应的切片算法对程序执行路径的合法性约束不够严格。提出一种改进的并发程序依赖图,引入跨线程边界循环一承载数据依赖关系。给出了添加跨线程边界循环一承载数据依赖关系的算法。实例分析表明,作用在新的并发程序依赖图上的切片算法克服了Krinke算法的切片不精确现象。

关 键 词:静态程序切片  并发程序  程序依赖图  循环-承载数据依赖
文章编号:1000-7180(2006)01-006-05
收稿时间:2005-01-05
修稿时间:2005-01-05

An Improved Program Dependence Graph for Static Slicing Concurrent Programs
XIAO Jian-yu,ZHANG De-yun,CHEN Hai-quan,DONG Hao.An Improved Program Dependence Graph for Static Slicing Concurrent Programs[J].Microelectronics & Computer,2006,23(1):6-10.
Authors:XIAO Jian-yu  ZHANG De-yun  CHEN Hai-quan  DONG Hao
Abstract:Data structure for static slicing algorithm of concurrent programs was studied. Based on the analysis of the fact that Krinke's slicing algorithm produced imprecise slice for the program structure which has loops embedded with threads, a conclusion was drawn that the reason for the impreciseness was that Krinke's data structure had over coarse definitions of data dependence relations between threads, and the associated algorithm had an unduly loose constraint on the execution paths. An improved threaded program dependence graph was proposed which introduced a new dependence relation of loop-carried data dependence crossing thread boundaries. The algorithm adding loop-carried data dependence relations crossing thread boundaries was given. Examples showed that the slicing algorithm based on the new data structure could restrain the impreciseness of Krinke's.
Keywords:Static slicing program  Concurrent programs  Program dependence graph  Loop-carried dada dependence
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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