• DocumentCode
    2340011
  • Title

    A concurrency test tool for Java monitors

  • Author

    Long, Brad ; Hoffman, Dan ; Strooper, Paul

  • Author_Institution
    Sch. of Electr. Eng. & Comput. Sci., Queensland Univ., Brisbane, Qld., Australia
  • fYear
    2001
  • fDate
    26-29 Nov. 2001
  • Firstpage
    421
  • Lastpage
    425
  • Abstract
    The Java programming language supports monitors. Monitor implementations, like other concurrent programs, are hard to test due to the inherent non-determinism. This paper presents the ConAn (Concurrency Analyser) tool for generating drivers for the testing of Java monitors. To obtain adequate controllability over the interactions between Java threads, the generated driver contains processes that are synchronized by a clock. The driver automatically executes the calls in the test sequence in the prescribed order and compares the outputs against the expected outputs specified in the test sequence. The method and tool are illustrated on an asymmetric producer-consumer monitor and their application to two other monitors is discussed.
  • Keywords
    Java; concurrency control; software tools; system monitoring; ConAn tool; Java monitors; Java programming language; Java threads; asymmetric producer-consumer monitor; concurrency test tool; concurrent programs; Automatic testing; Clocks; Computer displays; Computer languages; Computer science; Concurrent computing; Controllability; Java; Synchronization; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2001. (ASE 2001). Proceedings. 16th Annual International Conference on
  • ISSN
    1938-4300
  • Print_ISBN
    0-7695-1426-X
  • Type

    conf

  • DOI
    10.1109/ASE.2001.989843
  • Filename
    989843