一种跨平台内存池的设计与实现  

Design and Implementation of Cross-Platform Memory Pool

在线阅读下载全文

作  者:刘娟[1] 唐玄[1] 

机构地区:[1]蚌埠学院计算机工程学院,安徽蚌埠233030

出  处:《蚌埠学院学报》2017年第2期17-21,共5页Journal of Bengbu University

基  金:蚌埠学院自然科学基金项目(2013ZR16)

摘  要:基于内存预先分配、多线程技术,设计并实现了一个架构合理的动态内存池,并使用该内存池和系统内存管理接口分别进行了内存分配和释放实验。实验表明,使用内存池管理内存可以明显减少内存分配和释放的时间开销,降低了内存碎片化的可能性,提高了内存泄漏检测的方便性。A dynamic memory pool system based on pre-allocation of memory and multi-threading technol- ogy was designed and realized in this paper. The experiments of memory allocation and release with the memory pool and system memory management interface were carried out. The results showed that by adop- ting the memory pool to manage memory time costs of memory's allocation and release and the possibility of memory fragmentation will be decreased, and the convenience of the memory leak detection will be im- proved.

关 键 词:内存管理 内存池 内存碎片 内存泄漏检测 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象