A Static Analysis for Synthesizing Parametric Specifications of Dynamic Memory Consumption
A Static Analysis for Synthesizing Parametric Specifications of Dynamic Memory Consumption
复制标题
综合动态内存消耗参数化规范的静态分析
DOI:
10.5381/jot.2006.5.5.a2
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
S. Yovine
中科院分区:
文献类型:
--
作者:
V. Braberman;D. Garbervetsky;S. Yovine
We present a static analysis for computing a parametric upper-bound of the amount of memory dynamically allocated by (Java-like) imperative object-oriented programs. We propose a general procedure for synthesizing non-linear formulas which conservatively estimate the quantity of memory explicitly allocated by a method as a function of its parameters. We have implemented the procedure and evaluated it on several benchmarks. Experimental results produced exact estimations for most test cases, and quite precise approximations for many of the others. We also apply our technique to compute usage in the context of scoped memory and discuss some open issues.