Live heap space analysis for languages with garbage collection
Live heap space analysis for languages with garbage collection
复制标题
具有垃圾收集功能的语言的实时堆空间分析
DOI:
10.1145/1542431.1542450
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
M. Gómez
中科院分区:
文献类型:
--
作者:
E. Albert;S. Genaim;M. Gómez
The peak heap consumption of a program is the maximum size of the live data on the heap during the execution of the program, i.e., the minimum amount of heap space needed to run the program without exhausting the memory. It is well-known that garbage collection (GC) makes the problem of predicting the memory required to run a program difficult. This paper presents, the best of our knowledge, the first live heap space analysis for garbage-collected languages which infers accurate upper bounds on the peak heap usage of a program's execution that are not restricted to any complexity class, i.e., we can infer exponential, logarithmic, polynomial, etc., bounds. Our analysis is developed for an (sequential) object-oriented bytecode language with a scoped-memory manager that reclaims unreachable memory when methods return. We also show how our analysis can accommodate other GC schemes which are closer to the ideal GC which collects objects as soon as they become unreachable. The practicality of our approach is experimentally evaluated on a prototype implementation. We demonstrate that it is fully automatic, reasonably accurate and efficient by inferring live heap space bounds for a standardized set of benchmarks, the JOlden suite.
DOI:
10.1145/1375634.1375656
发表时间:
2008-06
期刊:
--
影响因子:
--
作者:
W. Chin;Huu Hai Nguyen;C. Popeea;S. Qin
通讯作者:
W. Chin;Huu Hai Nguyen;C. Popeea;S. Qin