A predictive model for exception handling

被引:1
作者
Lourenco, Joao Ricardo [1 ]
Cabral, Bruno [1 ]
Bernardino, Jorge [1 ,2 ]
机构
[1] Univ Coimbra, FCTUC, CISUC Ctr Informat & Syst, P-3030290 Coimbra, Portugal
[2] Polytech Inst Coimbra, ISEC, P-3030190 Coimbra, Portugal
来源
NEW ADVANCES IN INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 1 | 2016年 / 444卷
关键词
Exception Handling; Online Failure Prediction; Self-Healing;
D O I
10.1007/978-3-319-31232-3_72
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The exception handling mechanism has been one of the most used reliability tools in programming languages for over four decades. Nearly all modern languages have some form of "try-catch" model for exception handling and encourage its use. Nevertheless, this model has not seen significant change, even in the face of new challenges, such as concurrent programming and the advent of reactive programming. As it stands, the current model is reactive, rather than proactive exceptions are raised, caught, and handled. We propose an alternative exception handling model - PreX - where exceptions are no longer caught but, rather, predicted and prevented. Online Failure Prediction techniques generally work at a very high level, showing potential for prediction of program crashes. However, these techniques have never been at the hands of the programmers as an effective tool to improve software quality. By applying recent advances in Online Failure Prediction, PreX aims to fully prevent exceptions, bringing failure prediction techniques to a much more fine-grained level that the programmer can control. Predicting exceptions enables a range of preventive measures that enhance the reliability and robustness of a system, offering new revitalization strategies to developers.
引用
收藏
页码:767 / 776
页数:10
相关论文
共 13 条
[1]  
[Anonymous], 1992, EXCEPTION HANDLING M
[2]  
Cabral B., 2009, THESIS
[3]  
Cabral B, 2007, LECT NOTES COMPUT SC, V4609, P151
[4]   Failure Prediction of Jobs in Compute Clouds: A Google Cluster Case Study [J].
Chen, Xin ;
Lu, Charng-Da ;
Pattabiraman, Karthik .
2014 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW), 2014, :341-346
[5]  
Cheng FT, 2005, IEEE INT CONF ROBOT, P4062
[6]  
Fonseca A., 2012, 2012 Proceedings of 5th International Workshop on Exception Handling (WEH 2012), P14, DOI 10.1109/WEH.2012.6226591
[7]   EXCEPTION HANDLING - ISSUES AND A PROPOSED NOTATION [J].
GOODENOUGH, JB .
COMMUNICATIONS OF THE ACM, 1975, 18 (12) :683-696
[8]   Assessing the Impact of Virtualization on the Generation of Failure Prediction Data [J].
Irrera, Ivano ;
Duraes, Joao ;
Madeira, Henrique ;
Vieira, Marco .
2013 SIXTH LATIN-AMERICAN SYMPOSIUM ON DEPENDABLE COMPUTING (LADC), 2013, :92-97
[9]  
Liang YL, 2006, I C DEPEND SYS NETWO, P425
[10]   SH(o)over-tildeWA: A Self-Healing Framework for Web-Based Applications [J].
Magalhaes, Joao Paulo ;
Silva, Luis Moura .
ACM TRANSACTIONS ON AUTONOMOUS AND ADAPTIVE SYSTEMS, 2015, 10 (01)