Maximizing synchronization coverage via controlling thread schedule
Hyo‐Young Kim, Dae Hyun Cho, Sungdo Moon · IEEE Consumer Communications and Networking Conference · 2011
Coverage analysis has been playing an important role in testing traditional single threaded applications. As the number of multicore hardware being used increases, the number of multithreaded applications grows as well. In multi-threaded environment, traditional code coverage models cannot really cover the nondeterministic behavior of simultaneously running threads. The concept of synchronization coverage was invented to solve this problem. In this paper, we present a new coverage testing tool which maximizes synchronization coverage rates with less time and repetition. After searching for synchronization primitives, our tool instruments special code segments to these points and forces the application executions to maximize its synchronization coverage by scheduling individual threads. This enables achieving maximum synchronization coverage without manipulating source code or writing unit test code. We implemented this method and showed that our method achieves maximum synchronization coverage rates 1.5 to over 144 times faster than random method.
Cited by 5 works. doi:10.1109/ccnc.2011.5766365
Authors
References
- The SPLASH-2 programs
- The SPLASH-2 programs: characterization and methodological considerations
- An API for Runtime Code Patching
- Systematic mistake analysis of digital computer programs
- Finding and Reproducing Heisenbugs in Concurrent Programs
- Race directed random testing of concurrent programs
- CTrigger
- Framework for testing multi‐threaded Java programs
- Randomized active atomicity violation detection in concurrent programs
- All-du-path coverage for parallel programs