作者
Chris Lattner, Vikram Adve
发表日期
2005/6/12
期刊
ACM Sigplan Notices
卷号
40
期号
6
页码范围
129-142
出版商
ACM
简介
This paper describes Automatic Pool Allocation, a transformation framework that segregates distinct instances of heap-based data structures into seperate memory pools and allows heuristics to be used to partially control the internal layout of those data structures. The primary goal of this work is performance improvement, not automatic memory management, and the paper makes several new contributions. The key contribution is a new compiler algorithm for partitioning heap objects in imperative programs based on a context-sensitive pointer analysis, including a novel strategy for correct handling of indirect (and potentially unsafe) function calls. The transformation does not require type safe programs and works for the full generality of C and C++. Second, the paper describes several optimizations that exploit data structure partitioning to further improve program performance. Third, the paper evaluates how …
引用总数
200420052006200720082009201020112012201320142015201620172018201920202021202220232024171613131218132020141812151418139668