DocumentCode :
3123079
Title :
Maximizing synchronization coverage via controlling thread schedule
Author :
Kim, HyoYoung ; Cho, DaeHyun ; Moon, Sungdo
Author_Institution :
Future IT Res. Center, Samsung Adv. Inst. of Technol. (SAIT), Yongin, South Korea
fYear :
2011
fDate :
9-12 Jan. 2011
Firstpage :
1186
Lastpage :
1191
Abstract :
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.
Keywords :
multi-threading; multiprocessing systems; processor scheduling; program testing; synchronisation; application executions; controlling thread schedule; coverage analysis; coverage testing tool; multicore hardware; multithreaded applications; multithreaded environment; nondeterministic behavior; random method; simultaneously running threads; source code; synchronization coverage rates; synchronization primitives; tool instruments special code; traditional code coverage models; traditional single threaded applications; unit test code; Benchmark testing; Context; Instruction sets; Instruments; Sleep; Synchronization; code coverage; multi-threading; synchronization coverage; testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Consumer Communications and Networking Conference (CCNC), 2011 IEEE
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4244-8789-9
Type :
conf
DOI :
10.1109/CCNC.2011.5766365
Filename :
5766365
Link To Document :
بازگشت