A method for verifying concurrent Java']Java components based on an analysis of concurrency failures

被引:6
作者
Long, Brad
Strooper, Paul [1 ]
Wildman, Luke
机构
[1] Univ Queensland, Sch Informat Technol & Elect Engn, Brisbane, Qld 4072, Australia
[2] Oracle Corp, Australian Dev Ctr, Brisbane, Qld 4000, Australia
关键词
concurrency; verification; testing; component; !text type='Java']Java[!/text;
D O I
10.1002/cpe.1063
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Java programming language supports concurrency. Concurrent programs are harder to verify than their sequential counterparts due to their inherent non-determinism and a number of specific concurrency problems, such as interference and deadlock. In previous work, we have developed the ConAn testing tool for the testing of concurrent Java components. ConAn has been found to be effective at testing a large number of components, but there are certain classes of failures that are hard to detect using ConAn. Although a variety of other verification tools and techniques have been proposed for the verification of concurrent software, they each have their strengths and weaknesses. In this paper, we propose a method for verifying concurrent Java components that includes ConAn and complements it with other static and dynamic verification tools and techniques. The proposal is based on an analysis of common concurrency problems and concurrency failures in Java components. As a starting point for determining the concurrency failures in Java components, a Petri-net model of Java concurrency is used. By systematically analysing the model, we come up with a complete classification of concurrency failures. The classification and analysis are then used to determine suitable tools and techniques for detecting each of the failures. Finally, we propose to combine these tools and techniques into a method for verifying concurrent Java components. Copyright (c) 2006 John Wiley & Sons, Ltd.
引用
收藏
页码:281 / 294
页数:14
相关论文
共 45 条