On Testing Multi-threaded Java Programs
Xufang Gong,Yanchen Wang,Ying Zhou,Bixin Li
DOI: https://doi.org/10.1109/snpd.2007.165
2007-01-01
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.
What problem does this paper attempt to address?