A method for verifying concurrent Java components based on an analysis of concurrency failures: Research Articles

  • Authors:
  • Brad Long;Paul Strooper;Luke Wildman

  • Affiliations:
  • School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, Queensland 4072, Australia and Australian Development Centre, Oracle Corporation, 300 Ann Stree ...;School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, Queensland 4072, Australia;School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, Queensland 4072, Australia

  • Venue:
  • Concurrency and Computation: Practice & Experience - Parallel and Distributed Systems: Testing and Debugging (PADTAD)
  • Year:
  • 2007

Quantified Score

Hi-index 0.02

Visualization

Abstract

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 © 2006 John Wiley & Sons, Ltd.