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 条
  • [1] Visualizing Potential Deadlocks in Multithreaded Programs
    Kim, Byung-Chul
    Jun, Sang-Woo
    Hwang, Dae Joon
    Jun, Yong-Kee
    [J]. PARALLEL COMPUTING TECHNOLOGIES, PROCEEDINGS, 2009, 5698 : 321 - +
  • [2] Taming Deadlocks in Multithreaded Programs
    Cai, Yan
    Chan, W. K.
    Yu, Y. T.
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 276 - 279
  • [3] Program Visualization for Debugging Deadlocks in Multithreaded Programs
    Kim, Byung-Chul
    Jun, Yong-Kee
    [J]. ADVANCES IN SOFTWARE ENGINEERING, 2010, 117 : 228 - 236
  • [4] Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithreaded Programs
    Cai, Yan
    Chan, W. K.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2014, 40 (03) : 266 - 281
  • [5] TeamWork: Synchronizing Threads Globally to Detect Real Deadlocks for Multithreaded Programs
    Cai, Yan
    Zhai, Ke
    Wu, Shangru
    Chan, W. K.
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (08) : 311 - 312
  • [6] ConLock: A Constraint-Based Approach to Dynamic Checking on Deadlocks in Multithreaded Programs
    Cai, Yan
    Wu, Shangru
    Chan, W. K.
    [J]. 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, : 491 - 502
  • [7] Predicting and speedup of multithreaded Solaris programs
    Lundberg, L
    Roos, M
    [J]. FOURTH INTERNATIONAL CONFERENCE ON HIGH-PERFORMANCE COMPUTING, PROCEEDINGS, 1997, : 386 - 392
  • [8] Predicting and bounding the speedup of multithreaded Solaris programs
    Lundberg, L
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1999, 57 (03) : 322 - 333
  • [9] Deadlocks Detection in Multithreaded Applications Based on Source Code Analysis
    Giebas, Damian
    Wojszczyk, Rafal
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (02):
  • [10] ASN: A Dynamic Barrier-Based Approach to Confirmation of Deadlocks from Warnings for Large-Scale Multithreaded Programs
    Cai, Yan
    Jia, Changjiang
    Wu, Shangru
    Zhai, Ke
    Chan, W. K.
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2015, 26 (01) : 13 - 23