A Concurrency Test Tool for Java Monitors

  • Authors:
  • Brad Long;Dan Hoffman;Paul Strooper

  • Affiliations:
  • -;-;-

  • Venue:
  • Proceedings of the 16th IEEE international conference on Automated software engineering
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Java programming language supports monitors.Monitor implementations, like other concurrent programs,are hard to test due to the inherent non-determinism. Thispaper presents the ConAn (Concurrency Analyser) tool forgenerating drivers for the testing of Java monitors. To obtainadequate controllability over the interactions betweenJava threads, the generated driver contains processes thatare synchronized by a clock. The driver automatically executesthe calls in the test sequence in the prescribed orderand compares the outputs against the expected outputsspecified in the test sequence. The method and tool are illustratedon an asymmetric producer-consumer monitor, andtheir application to two other monitors is discussed.