期刊文献+

一种基于类的Java多线程程序数据竞争静态检测算法 被引量:3

A class-based data race static detection algorithm for Java multithread programs
下载PDF
导出
摘要 多线程并发程序的广泛使用引发了更多的数据竞争问题,竞争检测对于提高软件质量具有重要意义。将竞争静态检测和静态切片分析结合起来,提出了一种基于类的Java数据竞争静态检测算法,该算法利用函数调用层次获得函数调用链,对类域进行分析,找出可能数据竞争,通过静态切片缩小程序分析范围,并结合数据竞争的必要条件,去掉不可能数据竞争。实例表明,该算法可用于指导修复程序中的竞争缺陷。 The widespread use of multithread concurrent programs induces more detrimental data race problems,race detection is very important for improving software quality.Combining data race static detection with static program slicing,a class-based data race static detection algorithm for Java multithread programs is proposed.The algorithm obtains function call-chains by using function calls,analyzes every field of a class,finds out possible data race,reduces the range of program analysis through static program slicing,and removes the impossible data race by considering the necessity of data race.An example demonstrates that the proposed algorithm can guide programmers to fix software data race defects.
出处 《计算机工程与科学》 CSCD 北大核心 2014年第2期233-237,共5页 Computer Engineering & Science
基金 国家自然科学基金资助项目(61272108)
关键词 多线程程序 数据竞争 程序切片 静态分析 竞争检测 multithread program data race program slice static analysis race detection
  • 相关文献

参考文献20

  • 1Ranganath V P,Hatcliff J.Slicing concurrent Java programs using Indus and Kaveri[J].International Journal on Software Tools for Technology Transfer,2007,9(5-6):489-504.
  • 2Adve S V,Hill M D,Miller B P,et al.Detecting data races on weak memory systems[C]//Proc of the 18th Annual In ternational Symposium on Computer Architecture,1991:234-243.
  • 3Christiaens M,Brosschere K.TRaDe:A topological approach to on-the-fly race detection in Java programs[C]//Proc of the 1st Java Virtual Machine Research and Technology Symposium,2001:105-116.
  • 4Agarwal R,Sasturkar A,Wang L,et al.Optimized run time race detection and atomicity checking using partial discovered types[C]//Proc of the 20th IEEE/ACM International Conference on Automated Software Engineering,2005:233-242.
  • 5Cheng G,Feng M,Leiserson C,et al.Detecting data races in Cilk programs that use locks[C]// Proc of the 10th Annual ACM Symposium on Parallel Algorithms and Architectures,1998:298-309.
  • 6Yu Y,Rodeheffer T,Chen W.RaceTrack:Efficient detection of data race conditions via adaptive tracking[C]//Proc of the 20th ACM Symposium on Operating Systems Principles,2005:221-234.
  • 7张昱,郝允允.Java程序数据竞争的增量式检测[J].西安交通大学学报,2009,43(8):22-27. 被引量:4
  • 8Naik M.Effective static race detection for Java[D].Stanford,CA:Stanford University,2008.
  • 9Landi W.Undecidability of static analysis[J].ACM Letters on Programming Languages and Systems,1992,1 (4):323-337.
  • 10梅宏,王千祥,张路,王戟.软件分析技术进展[J].计算机学报,2009,32(9):1697-1710. 被引量:101

二级参考文献86

  • 1He Yanxiang Xia Xunbin Chen Yantao Sun Xiangsheng (Department of Computer Science,Wuhan University Wuhan 430072,P.R.China).A Model of Distributed OS Automatic Generating System[J].High Technology Letters,1995,1(1):36-40. 被引量:1
  • 2章隆兵,吴少刚,张福新.软件DSM系统中的动态数据竞争检测[J].小型微型计算机系统,2004,25(12):2070-2074. 被引量:1
  • 3吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 4PRVULOVIC M. CORD: cost-effective (and nearly overheadfree) order-recording and data race detection [C] // Proceedings of the 12th International Symposium on High-Performance Computer Architecture. Austin: IEEE, 2006:232 - 243.
  • 5DINNING A, SCHONBERG E. An empirical comparison of monitoring algorithms for access anomaly detection [C]// Proceedings of the Second ACM SiGPLAN Symposium on Principles and Practice of Paraiiel Programming. Seattle: ACM, 1990: 1-10.
  • 6SAVAGE S, BURROWS S, NELSON G, et al. Eraser: a dynamic data race detector for multithreaded programs [J]. ACM Transactions on Computer Systems, 1997, 15(4): 391-411.
  • 7ZHOU Pin, TEODORESCU R, ZHOU Yuan-yuan. HARD: hardware-assisted lockset-based race detection [C] // Proceedings of HPCA 2007. Phoenix: IEEE, 2007: 121-132.
  • 8LAMPORT L. Time, clocks, and the ordering of events in a distributed system [ J]. Communications of the ACM, 1978, 21(7): 558-565.
  • 9CHOI J D, LEE K, LOGINOV A, et al. Efficient and precise data race detection for multithreaded object- oriented programs [C]// Proceeding of the 2002 ACM SiGPLAN Conference on Programming Language Design and Implementation. Berlini ACM, 2002: 258-269.
  • 10BLOOM B H. Space/time trade-offs in hash coding with allowable errors [J]. Communications of the ACM, 1970, 13(7): 422-426.

共引文献126

同被引文献3

引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部