skip to main content
10.1145/1401827.1401829acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Dynamic detection of event handlers

Published: 21 July 2008 Publication History

Abstract

This paper considers the problem of dynamically finding event handlers in a running application using information obtained from periodic stack samples. Knowing the set of event handlers in an application is a prerequisite to building a model of the event behavior of the application which is in turn needed to do performance analysis, program visualization, or program understanding in terms of events. We show that a trie-based statistical technique can effectively and accurately find event handlers.

References

[1]
Ziya Aral and Ilya Gertner, "Non-intrusive and interactive profiling in Parasight," Proc. ACM/SIGPLAN Conf. on Parallel Programming, pp. 21--30 (January 1998).
[2]
Dorian C. Arnold, Dong H. Ahn, Bronis R. de Supinski, Gregory Lee, Barton P. Miller, and Martin Schulz, "Stack trace analysis for large scale debugging," Proc. IPDPS 2007, pp. 1--10 (March 2007).
[3]
Bryan M. Cantrill and Thomas W. Doeppner, Jr., "Threadmon: a tool for monitoring multithreaded program performance," Proc. 30th Hawaii Intl. Conf. on Systems Sciences, pp. 253--265 (January 1997).
[4]
Rodrigo Fonseca, Goerge Porter, Randy H. Katz, Scott Shenker, and Ion Stoica, "X-Trace: a pervasive network tracing framework," Proc. 4th USENIX Symp. on Networked Systems Design and Implementation, pp. 271--284 (2007).
[5]
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, Design Patterns, Addison-Wesley (1995).
[6]
Michael M. Gorlick, "The flight recorder: an architecture for system monitoring," ACM/ONR Workshop on Parallel and Distributed Debugging, pp. 175--183 (December 1991).
[7]
Susan L. Graham, Peter B. Kessler, and Marshall K. McKusick, "gprof: A call graph execution profiler," SIGPLAN Notices Vol. 17(6) pp. 120--126 (June 1982).
[8]
Minwean Ji, Edward W. Felten, and Kai Li, "Performance measurements for multithreaded programs," Proc. ACM SIGMETRICS/Performance'98, pp. 161--170 (August 1998).
[9]
Wim De Pauw and Gary Sevitsky, "Visualizing reference patterns for solving memory leaks in Java," in Proceedings of the ECOOP '99 European Conference on Object-oriented Programming, (1999).
[10]
Wim De Pauw, Nick Mitchell, Martin Robillard, Gary Sevitsky, and Harini Srinivasan, "Drive-by analysis of running programs," Proc. ICSE Workshop of Software Visualization, (May 2001).
[11]
Steven P. Reiss, "Connecting tools using message passing in the FIELD environment," IEEE Software Vol. 7(4) pp. 57--67 (July 1990).
[12]
Steven P. Reiss, "Event-based performance analysis," Proc 11th IEEE Intl Workshop on Program Comprehension, pp. 74--81 (2003).
[13]
Steven P. Reiss, "Visualizing program execution using user abstractions," SOFTVIS 06, pp. 125--134 (September 2006).
[14]
Steven P. Reiss, "Controlled dynamic performance analysis," Proc. 2nd Intl. Workshop on Software and Performance, (June 2008).
[15]
Francois Taiani, "CosmOpen: a reverse-engieering tools for complex open- source architectures," Proc. Intl. Conf. on Dependable Systems and Networks, pp. A49--A51 (June 2003).

Cited By

View all
  • (2011)Quality Model Driven Dynamic AnalysisProceedings of the 2011 IEEE 35th Annual Computer Software and Applications Conference10.1109/COMPSAC.2011.54(360-365)Online publication date: 18-Jul-2011
  • (2010)Visualizing threads, transactions and tasksProceedings of the 9th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering10.1145/1806672.1806675(9-16)Online publication date: 5-Jun-2010
  • (2009)Automatic detection of internal queues and stages in message processing systems2009 IEEE 17th International Conference on Program Comprehension10.1109/ICPC.2009.5090075(315-316)Online publication date: May-2009

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
WODA '08: Proceedings of the 2008 international workshop on dynamic analysis: held in conjunction with the ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2008)
July 2008
81 pages
ISBN:9781605580548
DOI:10.1145/1401827
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 21 July 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. dynamic instrumentation
  2. event handler
  3. monitoring
  4. trace analysis

Qualifiers

  • Research-article

Funding Sources

Conference

ISSTA '08
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2011)Quality Model Driven Dynamic AnalysisProceedings of the 2011 IEEE 35th Annual Computer Software and Applications Conference10.1109/COMPSAC.2011.54(360-365)Online publication date: 18-Jul-2011
  • (2010)Visualizing threads, transactions and tasksProceedings of the 9th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering10.1145/1806672.1806675(9-16)Online publication date: 5-Jun-2010
  • (2009)Automatic detection of internal queues and stages in message processing systems2009 IEEE 17th International Conference on Program Comprehension10.1109/ICPC.2009.5090075(315-316)Online publication date: May-2009

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media