Predicting potential deadlocks in multithreaded programs

被引:3
|
作者
Babamir, Seyed Morteza [1 ]
Hassanzade, Elmira [1 ]
Azimpour, Mona [1 ]
机构
[1] Univ Kashan, Dept Comp Engn, Kashan, Iran
来源
关键词
deadlock prediction; multithreaded programs; neural network; Markov chain; multistep-ahead prediction; NETWORK;
D O I
10.1002/cpe.3568
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In a multithreaded program, competition of threads for shared resources raises the deadlock possibility, which narrows the system liveness. Because such errors appear in specific schedules of concurrent executions of threads, runtime verification of threads behavior is a significant concern. In this study, we extended our previous approach for prediction of runtime behavior of threads may lead to an impasse. Such a prediction is of importance because of the nondeterministic manner of competing threads. The prediction process tries to forecast future behavior of threads based on their observed behavior. To this end, we map observed behavior of threads into time-series data sets and use statistical and artificial intelligence methods for forecasting subsequent members of the sets as future behavior of the threads. The deadlock prediction is carried out based on probing the allocation graph obtained from actual and predicted allocation of resources to threads. In our approach, we use an artificial neural network (ANN) because ANNs enjoy the applicable performance and flexibility in predicting complex behavior. Using three case studies, we contrasted results of the current and our previous approaches to demonstrate results. Copyright (c) 2015 John Wiley & Sons, Ltd.
引用
收藏
页码:5261 / 5287
页数:27
相关论文
共 50 条
  • [41] Automatic Performance Modeling of Multithreaded Programs
    Tarvo, Alexander
    [J]. 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 721 - 723
  • [42] Static analysis of the determinism of multithreaded programs
    Ferrara, Pietro
    [J]. SEFM 2008: Sixth IEEE International Conference on Software Engineering and Formal Methods, Proceedings, 2008, : 41 - 50
  • [43] Lock Trace Reduction for Multithreaded Programs
    Cai, Yan
    Chan, W. K.
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2013, 24 (12) : 2407 - 2417
  • [44] Runtime analysis of atomicity for multithreaded programs
    Wang, LQ
    Stoller, SD
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2006, 32 (02) : 93 - 110
  • [45] Structure layout optimization for multithreaded programs
    Raman, Easwaran
    Hundt, Robert
    Mannarswamy, Sandya
    [J]. CGO 2007: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2007, : 271 - +
  • [46] STRATEGIES FOR THE PREVENTION OF COMMUNICATION DEADLOCKS IN DISTRIBUTED PARALLEL PROGRAMS
    BARBOSA, VC
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (11) : 1311 - 1316
  • [47] Atomizer: A dynamic atomicity checker for multithreaded programs
    Flanagan, C
    Freund, SN
    [J]. ACM SIGPLAN NOTICES, 2004, 39 (01) : 256 - 267
  • [48] Security for multithreaded programs under cooperative scheduling
    Russo, Alejandro
    Sabelfeld, Andrei
    [J]. PERSPECTIVES OF SYSTEMS INFORMATICS, 2007, 4378 : 474 - +
  • [49] Using Unfoldings in Automated Testing of Multithreaded Programs
    Kahkonen, Kari
    Saarikivi, Olli
    Heljanko, Keijo
    [J]. 2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 150 - 159
  • [50] Pattern-Based Verification for Multithreaded Programs
    Esparza, Javier
    Ganty, Pierre
    Poch, Tomas
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2014, 36 (03):