• DocumentCode
    2880002
  • Title

    Spontaneous Detection of Infinite Loops and Livelocks in Dynamic Testing of Concurrent Programs

  • Author

    Lin, Che-Sheng ; Hwang, Gwan-Hwan

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Eng., Nat. Taiwan Normal Univ., Taipei, Taiwan
  • fYear
    2009
  • fDate
    29-31 July 2009
  • Firstpage
    291
  • Lastpage
    292
  • Abstract
    Concurrent programs that contain busy-waiting loops or iterative statements might not stop when they are tested dynamically due to some processes getting stuck in infinite loops or the execution of several loops forming a livelock. The traditional way of handling this problem in dynamic testing - interrupting the execution of the concurrent program when a predefined maximum execution time is exceeded. In this paper, we propose a dynamic decision scheme that spontaneously stops the execution of tested processes when they get stuck in an infinite loop or form a livelock. Since the halting problem is proven to be undecidable, we propose heuristic algorithms to cope with this. We apply the proposed scheme to a dynamic testing methodology called dynamic effective testing, which can perform state- and transition-cover testing for concurrent programs with busy-waiting loops. The implementation and experimental results demonstrate the feasibility of the proposed scheme.
  • Keywords
    program testing; software engineering; busy-waiting loops; concurrent programs; dynamic decision scheme; dynamic effective testing; dynamic testing methodology; infinite loops; iterative statements; software engineering; spontaneous detection; state-cover testing; transition-cover testing; Computer science; Concrete; Costs; Heuristic algorithms; History; Performance evaluation; Protocols; Software engineering; Software testing; System testing; concurrent testing; infinite loop; livelock;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Theoretical Aspects of Software Engineering, 2009. TASE 2009. Third IEEE International Symposium on
  • Conference_Location
    Tianjin
  • Print_ISBN
    978-0-7695-3757-3
  • Type

    conf

  • DOI
    10.1109/TASE.2009.23
  • Filename
    5198516