We present a unification-based, context-sensitive escape and effect analysis that infers lightweight method summaries describing heap effects. The analysis is parameterized on two values: k, indicating the heap depth beyond which objects escape; and b, a branching factor indicating the maximum number of fields per object that the analysis precisely tracks. Restricting these parameters to small values allows us to keep the method summaries lightweight and practical. Results collected from our implementation shows that the analysis scales well to large code bases such as the GNU Classpath libraries. They also show that summaries can help analysis clients approximate the effects of method calls, avoiding expensive inter-procedural computations, or imprecise worst-case assumptions. © Springer-Verlag Berlin Heidelberg 2007.
CITATION STYLE
Cherem, S., & Rugina, R. (2007). A practical fscape and effect analysis for building lightweight method summaries. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4420 LNCS, pp. 172–186). https://doi.org/10.1007/978-3-540-71229-9_12
Mendeley helps you to discover research relevant for your work.