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

多线程程序数据竞争的静态检测
引用本文:吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335.
作者姓名:吴萍  陈意云  张健
作者单位:1. 中国科学技术大学计算机科学与技术系,合肥,230027
2. 中国科学院软件研究所计算机科学实验室,北京,100080
基金项目:中国科学院资助项目;国家重点基础研究发展计划(973计划)
摘    要:多线程并发程序的广泛使用带来了更多的数据竞争错误.传统的数据竞争静态检测由于对并发语义和别名信息的保守分析会导致很多假错误.因此,提出了一个精确有效的静态检测框架:分析应用了精确的别名分析并静态模拟了访问事件发生序;为提高分析效率,检测算法提出了一个以对象为中心,结合Escape分析缩小检测范围的检测算法并配合设计了压缩的别名等价类表示.检测框架在一个静态Java编译器JTool上做了实现,对于测试程序取得了很好的分析结果.

关 键 词:并发程序  程序分析  数据竞争  别名分析
收稿时间:11 8 2004 12:00AM
修稿时间:2004-11-082005-05-23

Static Data-Race Detection for Multithread Programs
Wu Ping,Chen Yiyun,Zhang Jian.Static Data-Race Detection for Multithread Programs[J].Journal of Computer Research and Development,2006,43(2):329-335.
Authors:Wu Ping  Chen Yiyun  Zhang Jian
Abstract:Multithreaded concurrent data race errors. Traditional static programs are finding wide application, which brings more detrimental race detection methods are bothered by false positives caused by conservative analysis of concurrent semantics and alias info. In this paper, a precise and effective analysis framework is proposed. The framework applies precise alias analysis and simulates the happen-before order statically. To improve efficiency, an object-based race checker is proposed and compact equality-class-based alias representation is designed. The framework is implemented in a Java compiler--JTool. Through empirical results, the precision and effectiveness of the proposed algorithm are demonstrated.
Keywords:concurrent programs  program analysis  data race  alias analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号