• DocumentCode
    70456
  • Title

    Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithreaded Programs

  • Author

    Yan Cai ; Chan, W.K.

  • Author_Institution
    Dept. of Comput. Sci., City Univ. of Hong Kong, Hong Kong, China
  • Volume
    40
  • Issue
    3
  • fYear
    2014
  • fDate
    Mar-14
  • Firstpage
    266
  • Lastpage
    281
  • Abstract
    We present Magiclock, a novel potential deadlock detection technique by analyzing execution traces (containing no deadlock occurrence) of large-scale multithreaded programs. Magiclock iteratively eliminates removable lock dependencies before potential deadlock localization. It divides lock dependencies into thread specific partitions, consolidates equivalent lock dependencies, and searches over the set of lock dependency chains without the need to examine any duplicated permutations of the same lock dependency chains. We validate Magiclock through a suite of real-world, large-scale multithreaded programs. The experimental results show that Magiclock is significantly more scalable and efficient than existing dynamic detectors in analyzing and detecting potential deadlocks in execution traces of large-scale multithreaded programs.
  • Keywords
    concurrency control; multi-threading; operating systems (computers); system recovery; Magiclock; large-scale multithreaded programs; lock order graph; potential deadlock localization; potential deadlocks scalable detection; scalability; Classification algorithms; Image edge detection; Instruction sets; Message systems; Monitoring; Multicore processing; System recovery; Deadlock detection; concurrency; lock order graph; multithreaded programs; scalability;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2014.2301725
  • Filename
    6718069