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
相关论文
共 29 条
[1]  
Agarwal R, 2006, LECT NOTES COMPUT SC, V3875, P191
[2]  
Baccour N., 2007, INT C SMART SYST DEV
[3]  
Bensalem S, 2005, SCAL DEADL AN MULT P
[4]   Time-series forecasting using flexible neural tree model [J].
Chen, YH ;
Yang, B ;
Dong, JW ;
Abraham, A .
INFORMATION SCIENCES, 2005, 174 (3-4) :219-235
[5]  
Dijkstra E.W., 1965, COOPERATING SEQUENTI
[6]   SOLUTION OF A PROBLEM IN CONCURRENT PROGRAMMING CONTROL [J].
DIJKSTRA, EW .
COMMUNICATIONS OF THE ACM, 1965, 8 (09) :569-&
[7]   A novel approach for distributed application scheduling based on prediction of communication events [J].
Dodonov, Evgueni ;
de Mello, Rodrigo Fernandes .
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2010, 26 (05) :740-752
[8]  
Dorffner G., 1996, Neural Network World, V6, P447
[9]  
Engler D., 2003, Operating Systems Review, V37, P237, DOI 10.1145/1165389.945468
[10]  
Ferrari-Trecate G, 2001, P AMER CONTR CONF, P4868, DOI 10.1109/ACC.2001.945754