Predicting method crashes with bytecode operations

Sunghun Kim*, Thomas Zimmermann, Rahul Premraj, Nicolas Bettenburg, Shivkumar Shivaji

*Corresponding author for this work

Research output: Chapter in Book/Conference Proceeding/ReportConference Paper published in a bookpeer-review

10 Citations (Scopus)

Abstract

Software monitoring systems have high performance overhead because they typically monitor all processes of the running program. For example, to capture and replay crashes, most current systems monitor all methods; thus yielding a significant performance overhead. Lowering the number of methods being monitored to a smaller subset can dramatically reduce this overhead. We present an approach that can help arrive at such a subset by reliably identifying methods that are the most likely candidates to crash in a future execution of the software. Our approach involves learning patterns from features of methods that previously crashed to classify new methods as crash-prone or non-crash-prone. An evaluation of our approach on two large open source projects, ASPECTJ and ECLIPSE, shows that we can correctly classify crash-prone methods with an accuracy of 80-86%. Notably, we found that the classification models can also be used for cross-project prediction with virtually no loss in classification accuracy. In a further experiment, we demonstrate how a monitoring tool, RECRASH could take advantage of only monitoring crash-prone methods and thereby, reduce its performance overhead and maintain its ability to perform its intended tasks.

Original languageEnglish
Title of host publicationProceedings of the 6th India Software Engineering Conference 2013, ISEC 2013
Pages3-12
Number of pages10
DOIs
Publication statusPublished - 2013
Event6th India Software Engineering Conference, ISEC 2013 - New Delhi, India
Duration: 21 Feb 201323 Feb 2013

Publication series

NameACM International Conference Proceeding Series

Conference

Conference6th India Software Engineering Conference, ISEC 2013
Country/TerritoryIndia
CityNew Delhi
Period21/02/1323/02/13

Keywords

  • Experimentation
  • Measurement
  • Reliability

Fingerprint

Dive into the research topics of 'Predicting method crashes with bytecode operations'. Together they form a unique fingerprint.

Cite this