Skip to main navigation Skip to search Skip to main content

HEAT: An integrated static and dynamic approach for thread escape analysis

  • Qichang Chen
  • , Liqiang Wang
  • , Zijiang Yang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

Thread escape analysis, which determines whether and when a variable becomes shared by multiple threads, is a foundation for many other program analyses. Most existing escape analysis tools are either purely dynamic or static. Static analysis, which considers all possible behaviors of a program, may produce false positives; whereas dynamic approaches cannot analyze unobserved behaviors of a program. This paper presents a hybrid approach that integrates static and dynamic analyses to address this problem. We first perform static analysis to obtain succinct summaries of program source code. Dynamic analysis is then used to confirm variable sharing; for unexecuted code, we determine the sharing of variables by performing an interprocedural synthesis based on the runtime information and static summaries. Compared to dynamic analysis, the hybrid approach is able to determine the escape property of variables in unexecuted code. Compared to static analysis, the hybrid approach produces fewer false alarms. We implemented this hybrid escape analysis in Java. Our experiments on several benchmarks and real-world applications show that the hybrid approach improves accuracy of escape analysis compared to existing approaches and significantly reduces overhead of subsequent program analyses.

Original languageEnglish
Title of host publicationProceedings - 2009 33rd Annual IEEE International Computer Software and Applications Conference, COMPSAC 2009
Pages142-147
Number of pages6
DOIs
StatePublished - 2009
Event2009 33rd Annual IEEE International Computer Software and Applications Conference, COMPSAC 2009 - Seattle, WA, United States
Duration: 20 Jul 200924 Jul 2009

Publication series

NameProceedings - International Computer Software and Applications Conference
Volume1
ISSN (Print)0730-3157

Conference

Conference2009 33rd Annual IEEE International Computer Software and Applications Conference, COMPSAC 2009
Country/TerritoryUnited States
CitySeattle, WA
Period20/07/0924/07/09

Fingerprint

Dive into the research topics of 'HEAT: An integrated static and dynamic approach for thread escape analysis'. Together they form a unique fingerprint.

Cite this