Connection Analysis: A Practical Interprocedural Heap Analysis for C |
| |
Authors: | Rakesh Ghiya Laurie J. Hendren |
| |
Affiliation: | 1.School of Computer Science,McGill University,Montréal,Canada |
| |
Abstract: | This paper presents a practical heap analysis technique, connection analysis, that can be used to disambiguate heap accesses in C programs. The technique is designed for analyzing programs that allocate many disjoint objects in the heap such as dynamically-allocated arrays in scientific programs. The method statically estimates connection matrices which encode the connection relationships between all heap-directed pointers at each program point. The results of the analysis can be used by parallelizing compilers to determine when two heap-allocated objects are guaranteed to be disjoint, and thus can be used to improve array dependence and interference analysis. The method has been implemented as a context-sensitive interprocedural analysis in the McCAT optimizing/parallelizing C compiler. Experimental results are given to compare the accuracy of connection analysis versus a conservative estimate based on points-to analysis. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|