期刊文献+

基于锁集合算法的增强型数据竞争检测方法 被引量:2

Enhanced data race detection approach based on lockset algorithm
下载PDF
导出
摘要 针对锁集合算法误报率高的缺点,采用增强型数据竞争检测方法对锁集合算法及算法实现两方面进行改进.增强型锁集合算法提出了更强必要条件的检测算法.该算法通过分析线程结束情况和理解变量的线程信息,精化数据竞争检测条件.算法实现采用系统体系结构扩展的方法,通过扩展锁表部件,将集合操作精确映射到位图操作,进一步提高检测精度和减少误报.实现了无干扰免插桩检测技术,避免了二进制代码插桩带来的干扰性和不确定性问题.与同类系统的对比实验结果表明,该方法能够有效地将误报率减小到0.67,并且具有很高的检测效率. Because too many false-positive faults were produced in the traditional lockset algorithm, an enhanced data race detection approach based on lockset algorithm was brought forward to overcome the drawback from two ways, e.g. lockset-based algorithm definition and implementation. A more enhanced prerequisite algorithm was presented. The enhanced lockset algorithm refines the data race condition by catching the end of the thread and analyzing the right thread information of various variables. On the other hand, based on the architecture extension technology, a new hardware component, called locks table, is extended to accurately map set operation to bit operation. In this way, the detection precision can be improved. Meanwhile, a non-instrumentation detection method was implemented to avoid the probe-effect and indetermination. Compared with similar approaches, the enhanced lockset algorithm can effectively reduce the false-positive rate to be 0.67 and achieve good detection efficiency.
出处 《浙江大学学报(工学版)》 EI CAS CSCD 北大核心 2009年第2期328-333,共6页 Journal of Zhejiang University:Engineering Science
基金 航天创新基金资助项目(CASC04) 航天支撑技术基金资助项目 浙江大学国防预研基金资助项目
关键词 体系结构扩展 锁集合 数据竞争 architecture extension lockset data race
  • 相关文献

参考文献11

  • 1PRVULOVIC 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.
  • 2吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 3DINNING 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.
  • 4章隆兵,张福新,吴少刚,陈意云.基于锁集合的动态数据竞争检测方法[J].计算机学报,2003,26(10):1217-1223. 被引量:12
  • 5SAVAGE 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.
  • 6章隆兵,吴少刚,张福新.软件DSM系统中的动态数据竞争检测[J].小型微型计算机系统,2004,25(12):2070-2074. 被引量:1
  • 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.

二级参考文献12

  • 1R. H. Netzer, B. P. Miller. What are race conditions? Some issues and formalizations. ACM Letters on Programming Languages and Systems, 1992, 1(1) : 74-88.
  • 2J.D. Choi, A. Loginov, V. Sarkar. Static datarace analysis for multithreaded object-oriented programs. IBM Research, Tech.Rep. : RC22146, 2001.
  • 3C. Praun, T. Gross. Static conflict analysis for multi-threaded object-oriented programs. In: Proc. ACM SIGPLAN 2003 Conf.Programming Language Design and Implementation. New York:ACM Press, 2003. 115-128.
  • 4Dawson Engler, Ken Ashcraft. RacerX: Effective, static detection of race conditions and deadlocks. ACM Symposium on Operating Systems Principles. New York: ACM Press, 2003.237-252.
  • 5J. Choi, K. Lee, A. Loginov, et al. Efficient and precise datarace detection for multithreaded object-oriented programs. In:Proc. ACM SIGPLAN 2002 Conf. Programming Language Design and Implementation. New York: ACM Press, 2002. 258- 269.
  • 6W. Landi. Undecidability of static analysis. ACM Letters on Programming Languages and Systems, 1992, 1 (4) : 323- 337.
  • 7Erik Ruf, Effective synchronization removal for Java. In: Proc.ACM SIGPLAN 2000 Conf. Programming Language Design and Implementation. New York: ACM Press, 2000. 208-218.
  • 8L, Lamport. Time, clocks, and the ordering of events in a distributed system, Communications of the ACM, 1978, 21 (7) :558-565.
  • 9Martin Rinard. The flex program analysis and compilation system,http://www.flex-compiler. csail. mit. edu, 1999-06-10.
  • 10.[EB/OL].http ://www. codeproject. com/,2004.

共引文献25

同被引文献20

  • 1吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 2戚晓芳,徐宝文,周晓宇.一种基于程序可达图的并发程序依赖性分析方法[J].电子学报,2007,35(2):287-291. 被引量:14
  • 3Ranganath 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.
  • 4Adve 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.
  • 5Christiaens 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.
  • 6Agarwal 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.
  • 7Cheng 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.
  • 8Yu 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.
  • 9Naik M.Effective static race detection for Java[D].Stanford,CA:Stanford University,2008.
  • 10Landi W.Undecidability of static analysis[J].ACM Letters on Programming Languages and Systems,1992,1 (4):323-337.

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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