Login
Automatic detection and masking of non-atomic exception handling

Christof Fetzer, Karin Hogstedt & Pascal Felber

Résumé Developing robust applications is a challenging task. Although modern programming languages like C++ and Java provide sophisticated exception handling mechanisms to detect and correct runtime error conditions, exception handling code must still be programmed with care to preserve application consistency. In particular, exception handling is only effective if the premature termination of a method due to an exception does not leave an object in an inconsistent state. We address this issue by introducing the notion of failure atomicity in the context of exceptions and novel techniques to automatically detect and mask non-atomic exception handling. These techniques can be applied to applications written in several different programming languages, and can be used even when the application's source code is not available. We perform experimental evaluation on both C++ and Java applications to demonstrate the effectiveness of our techniques and measure the overhead that they introduce.
   
Mots-clés
   
Citation C. Fetzer, et al., "Automatic detection and masking of non-atomic exception handling," in International Conference on Dependable Systems and Networks (DSN'03), San Francisco, CA, 2003, p. 445-454.
   
Type Actes de congrès (Anglais)
Editeur D. Martin
Nom de la conférence International Conference on Dependable Systems and Networks (DSN'03) (San Francisco, CA)
Date de la conférence 12-5-2003
Editeur commercial Ieee Computer Soc
Pages 445-454