DocumentCode :
2803301
Title :
A State Exploration-Based Approach to Testing Java Monitors
Author :
Lei, Yu ; Carver, Richard ; Kung, David ; Gupta, Vidur ; Hernandez, Monica
Author_Institution :
Dept. of Comp. Sci. & Eng., Texas Univ., Arlington, TX
fYear :
2006
fDate :
7-10 Nov. 2006
Firstpage :
256
Lastpage :
265
Abstract :
A Java monitor is a Java class that defines one or more synchronized methods. Unlike a regular object, a Java monitor object is intended to be accessed by multiple threads simultaneously. Thus, testing a Java monitor can be significantly different from testing a regular class. In this paper, we propose a state exploration-based approach to testing a Java monitor. A novel aspect of our approach is that during exploration, threads are introduced on-the-fly, and as needed, to simulate race conditions that can occur when multiple threads try to access a monitor object at the same time. Furthermore, each transition is defined in a way such that the behavior of the threads along each path can be precisely characterized and controlled. We describe a prototype tool called MonitorExplorer and report three case studies that are designed to provide an initial evaluation of our approach
Keywords :
Java; fault diagnosis; multi-threading; program testing; supervisory programs; Java class; Java monitor testing; MonitorExplorer; multithread access; state exploration; Computer displays; Computer science; Condition monitoring; Fault detection; Java; Prototypes; Runtime environment; Space exploration; Testing; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering, 2006. ISSRE '06. 17th International Symposium on
Conference_Location :
Raleigh, NC
ISSN :
1071-9458
Print_ISBN :
0-7695-2684-5
Type :
conf
DOI :
10.1109/ISSRE.2006.9
Filename :
4021992
Link To Document :
بازگشت