摘要
介绍开放源码编译器ORC中使用的存储管理方法:存储池。存储池不是一种通用的存储管理方法,但是它特别适合于编译器。在编译器这个应用场合下,存储池比通用的malloc/free存储管理机制具有十分明显的优点。具体表现为分配速度快、管理开销小、释放时间开销小以及没有内存泄漏的问题。
This paper introduces a novel memory management mechanism called mempool. Although mempool is not a general purpose memory management mechanism, it is suited to compiler quite well. In the application of compiler, mempool shows striking advantage over the traditional malloc/free mechanism, including faster allocation, lower management overhead, lower overhead in free operator and has no memory leakage problem inherits in its mechanism.
出处
《计算机工程》
EI
CAS
CSCD
北大核心
2005年第6期79-80,131,共3页
Computer Engineering