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

并发程序内部表示及静态切片算法的改进
引用本文:肖健宇,张德运,郑卫斌.并发程序内部表示及静态切片算法的改进[J].西安交通大学学报,2005,39(12):1295-1298,1400.
作者姓名:肖健宇  张德运  郑卫斌
作者单位:1. 西安交通大学电子与信息工程学院,710049,西安;邵阳学院激光与信息研究所,422000,邵阳,湖南
2. 西安交通大学电子与信息工程学院,710049,西安
基金项目:国家高技术研究发展计划资助项目(863-301-05-03)
摘    要:通过分析Krinke切片算法对程序循环体内嵌套一个或多个线程结构会产生切片不精确现象,得出Krinke算法所基于的程序依赖图对线程间数据的依赖关系定义得过于粗糙,且对并发程序执行行为的合法性约束不够严格的结果.据此,提出一种新的并发程序依赖图,引入跨线程边界循环-承载数据依赖关系,并在此数据结构上改进了切片算法;引入区域化执行证据概念,进一步约束程序执行行为的合法性,并给出了添加跨线程边界循环-承载数据依赖关系的算法及新的并发程序切片算法的伪代码.实例分析与算法性能测试表明,改进的切片算法克服了Krinke算法的不精确现象,降低了时间开销,改善了算法的可伸缩性.

关 键 词:并发程序  程序依赖图  循环-承载数据依赖  区域化执行证据
文章编号:0253-987X(2005)12-1295-04
收稿时间:2005-03-14
修稿时间:2005-03-14

Improvement of Static Slicing Algorithm and Internal Representation of Concurrent Program
Xiao Jianyu,Zhang Deyun,Zheng Weibin.Improvement of Static Slicing Algorithm and Internal Representation of Concurrent Program[J].Journal of Xi'an Jiaotong University,2005,39(12):1295-1298,1400.
Authors:Xiao Jianyu  Zhang Deyun  Zheng Weibin
Abstract:Based on the analysis that Krinke's slicing algorithm produced imprecise result for the program cycle body embedded with one or more threads,from which a conclusion was drawn that the reason for the imprecision was that the dependence relation of the relied graph to thread data was defined too coarsely and the constraint of the validity of execution behavior in concurrent program was unduly loose.Upon which,a novel relied graph of concurrent program was proposed,a dependence relation of loop-carried data across thread boundaries was introduced and an improved slicing algorithm was also proposed,in which a new concept of regional execution evidence was introduced to further constrain the validity of execution behavior in concurrent program.The algorithm added the dependence relations of loop-carried data across thread boundaries and the pseudo codes of slicing algorithm of concurrent program were given.Algorithm performance test and instances analysis show that the improved slicing algorithm can overcome the Krinke's imprecision,decreases overhead time and ameliorates scalability.
Keywords:concurrent program  program dependence graph  loop-carried dada dependence  regioned execution witness  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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