Title :
On Testing Multi-threaded Java Programs
Author :
Gong, Xufang ; Wang, Yanchen ; Zhou, Ying ; Li, Bixin
Author_Institution :
Southeast Univ., Nanjing
fDate :
July 30 2007-Aug. 1 2007
Abstract :
It is in general more difficult to test a concurrent program than a sequential program, as different programming language provide different implementations of concurrency mechanism. For instance, Java language implements concurrency by using multi-thread. Therefore, we should have corresponding way to test multithreaded Java programs. In this article, an approach of reachability testing based on extended synchronization sequence is proposed to test Java multithread programs: a kind of Java multi-thread flow diagram is constructed at first, all extended synchronization sequences are computed based on some prefixes secondly, and the deterministic testing is performed based on extended synchronization sequence finally. The validity of the approach is showed by some cases analysis.
Keywords :
Java; concurrency control; multi-threading; program testing; reachability analysis; concurrent program testing; extended synchronization sequence; multithreaded Java programming language; reachability analysis; Artificial intelligence; Computer languages; Computer science; Concurrent computing; Distributed computing; Java; Performance evaluation; Sequential analysis; Software engineering; Software testing;
Conference_Titel :
Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, 2007. SNPD 2007. Eighth ACIS International Conference on
Conference_Location :
Qingdao
Print_ISBN :
978-0-7695-2909-7
DOI :
10.1109/SNPD.2007.165