期刊文献+

面向共享内存并行程序的测试技术 被引量:1

Testing Technique for Shared Memory Concurrent Programs
下载PDF
导出
摘要 随着并行编程越来越普及,并行程序的测试也变得越来越重要。本文面向共享内存的并行程序,研究一种新的并行程序测试技术,设计了工具CPTester,采用冗余分析方法避免重复的结果。和已有工作不同的是CPTester能够自动生成每一个并行bug的上下文信息,对程序员理解并修复一个并行bug具有重要意义。将CPTester在一些真实的并行程序上进行实验评测,结果显示CPTester能够有效地检测到程序中的并行bug,且每一个并行bug都有相应的上下文信息来描述该bug触发的根本原因。 As programming concurrent programs becomes pervasive,testing concurrent programs is also becoming important. This paper focuses on the concurrent programs that are based on shared memory. A new concurrent program testing technique is researched,and a tool called CPTester is designed for concurrent programs. CPTester uses redundancy analysis approach to avoid repeated results. Different from previous work,CPTester can generate the context information for every concurrent bug automatically,which is useful for programmers to understand and fix the concurrent bug. CPTester is evaluated on a number of real concurrent programs. Results show that CPTester can effectively detect the concurrent bugs in concurrent programs. Also,the context information about the root cause of each concurrent bug can be described.
作者 李婧 王建平
出处 《计算机与现代化》 2016年第8期40-45,共6页 Computer and Modernization
基金 湖南省教育厅科研项目(15C0017)
关键词 并行程序 共享内存 程序测试 冗余分析 上下文信息 concurrent program shared memory program testing redundancy analysis context information
  • 相关文献

参考文献17

  • 1Poulsen K. Software Bug Contributed to Blackout[ DB/OL]. http ://www. securityfocus, corn/news/8016, 2004-02-11. 被引量:1
  • 2Gu Rui, Jin Guoliang, Song Linhai, et al. What change history tell us about thread synchronization [ C ]//Proceed- ings of the lOth Joint Meeting on Foundations of Software Engineering. 2015:426-438. 被引量:1
  • 3Cai Yan, Wu Shangru, Chan W K. ConLock: A constraint- based approach to dynamic checking on deadlocks in mul- tithreaded programs [ C ]// Proceedings of the 36th Interna- tional Conference on Software Engineering. 2014:491-502. 被引量:1
  • 4Sadowski C, Yi J. How developers use data race detection tools [ C ]//Proceedings of the 5th Workshop on Evaluation and Usability of Programming Languages and Tools. 2014 : 43-51. 被引量:1
  • 5Maiya P, Kanade A, Majumdar R. Race detection for An- droid applications [ C ]// Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation. 2014:316-325. 被引量:1
  • 6Biswas S, Huang Jipeng, Sengupta A, et al. DoubleCh- eeker: Efficient sound and precise atomieity checking [ C]//Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation. 2014:28-39. 被引量:1
  • 7Yu Jie, Narayanasamy S, Pereira C, et al. Maple: A coy-erage-driven testing tool for multithreaded programs [ C ]// Proceedings of the 2012 ACM International Conference on Object Oriented Programming Systems Languages and Ap- plications. 2012:485-502. 被引量:1
  • 8Huang J, Zhang C. Persuasive prediction of concurrency access anomalies [ C ]// Proceedings of the 2011 Interna- tional Symposium on Software Testing and Analysis. 2011 : 144-154. 被引量:1
  • 9Musuvathi M, Qadeer S, Ball T, et al. Finding and repro- ducing heisenbugs in concurrent programs [ C ]// Proceed- ings of the 8th USENIX Conference on Operating Systems Design and Implementation. 2008:267-280. 被引量:1
  • 10Wu Zhendong, Lu Kai, Wang Xiaoping, et al. Collabora- tive technique for concurrency bug detection [ J ]. Interna- tional Journal of Parallel Programming, 2015,43 ( 2 ) : 260- 285. 被引量:1

同被引文献12

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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