ComputingComputer ScienceAlgorithmsOptimizationProgramming LanguagesAbstract InterpretationAlgorithm AnalysisAlgorithmic ComplexityComputational ComplexityData-flow AnalysisTime ComplexityComplexityData Locality ManagementEscape AnalysisExponential Time ComplexityHigher-order FunctionsLocality ConstraintsMemory LocalityPolynomial Time Complexity
Escape analysis is an abstract interpretation technique for statically optimizing storage management devised by Park & Goldberg [30]. The main application of escape analysis is the optimization of storage management and data locality in garbage-collected languages such as ML or JAVA.We improve the previously known exponential complexity bound of Park & Goldberg: we show that first-order escape analysis (EA1) can be solved in almost linear time, and that second-order escape analysis (EA2) is DEXPTIME-hard. We exhibit a fast, equational, path-compression based abstract interpretation algorithm for EA1. We prove that it is sound and complete, and that its time complexity is O(n log2 n).We sketch an extension of the analysis to higher-order functions and imperative operations that is approximate. Finally we briefly present some experimental evidence that escape analysis may be useful in practice.
24
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Systematic design of program analysis frameworks
Patrick Cousot, Radhia Cousot · 1979 · 1.6K citations · Full text
Points-to analysis in almost linear time
Bjarne Steensgaard · 1996 · 1.1K citations · Full text
A unified approach to global program optimization
Gary A. Kildall · 1973 · 901 citations
Analysis of pointers and structures
David Chase, Mark N. Wegman, F. K. Zadeck · ACM SIGPLAN Notices · 2004 · 437 citations