• DocumentCode
    501694
  • Title

    HEAT: An Integrated Static and Dynamic Approach for Thread Escape Analysis

  • Author

    Chen, Qichang ; Wang, Liqiang ; Yang, Zijiang

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Wyoming, Laramie, WY, USA
  • Volume
    1
  • fYear
    2009
  • fDate
    20-24 July 2009
  • Firstpage
    142
  • Lastpage
    147
  • Abstract
    Escape analysis can determine whether and when a variable becomes shared for multiple threads, which is a foundation for many other program analyses. Most existing escape analysis tools are either purely dynamic or static analysis. Static analysis usually considers all possible behaviors of a program, however, may produce false positives; whereas dynamic approaches can not 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 summaries of accesses to potential escaped variables. When the program runs, dynamic analysis is used to confirm variable sharing; for unexecuted code, we determine the sharing of variables in it by performing an interprocedural static analysis based on the runtime information. 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 experimental evaluation on several benchmarks and real-world applications shows that it has improved accuracy compared to existing approaches and can also boost the performance of subsequent program analyses significantly.
  • Keywords
    Java; multi-threading; program diagnostics; HEAT tool; Java program; dynamic analysis approach; hybrid escape analysis-for-thread tool; integrated static analysis; multiple thread; potential escaped variable; program analysis technique; unexecuted code; Application software; Computer applications; Computer science; Information analysis; Java; Object detection; Performance analysis; Runtime; System recovery; Yarn; Combined Analysis; Escape Analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2009. COMPSAC '09. 33rd Annual IEEE International
  • Conference_Location
    Seattle, WA
  • ISSN
    0730-3157
  • Print_ISBN
    978-0-7695-3726-9
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2009.28
  • Filename
    5254268