Computer and Modernization

Previous Articles     Next Articles

Testing Technique for Shared Memory Concurrent Programs

  

  1. (Department of Environmental Information, Changsha Environmental Protection College, Changsha 410001, China)
  • Received:2016-01-27 Online:2016-08-18 Published:2016-08-11

Abstract: 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.

Key words: concurrent program, shared memory, program testing, redundancy analysis, context information

CLC Number: