节点文献

多线程程序数据竞争的静态检测

Static Data-Race Detection for Multithread Programs

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 吴萍陈意云张健

【Author】 Wu Ping~1, Chen Yiyun~1, and Zhang Jian~2 ~ 1 (Department of Computer Science and Technology, University of Science & Technology of China, Hefei 230027) ~ 2 (Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100080)

【机构】 中国科学技术大学计算机科学与技术系中国科学院软件研究所计算机科学实验室 合肥230027合肥230027北京100080

【摘要】 多线程并发程序的广泛使用带来了更多的数据竞争错误·传统的数据竞争静态检测由于对并发语义和别名信息的保守分析会导致很多假错误·因此,提出了一个精确有效的静态检测框架:分析应用了精确的别名分析并静态模拟了访问事件发生序;为提高分析效率,检测算法提出了一个以对象为中心,结合Escape分析缩小检测范围的检测算法并配合设计了压缩的别名等价类表示·检测框架在一个静态Java编译器JTool上做了实现,对于测试程序取得了很好的分析结果·

【Abstract】 Multithreaded concurrent programs are finding wide application, which brings more detrimental data race errors. Traditional static 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.

【基金】 国家自然科学基金项目(60173049,60421001);国家杰出青年科学基金项目(60125207)~~
  • 【文献出处】 计算机研究与发展 ,Journal of Computer Research and Development , 编辑部邮箱 ,2006年02期
  • 【分类号】TP311.11
  • 【被引频次】47
  • 【下载频次】426
节点文献中: 

本文链接的文献网络图示:

本文的引文网络