首页 | 本学科首页   官方微博 | 高级检索  
     

实时系统中的动态内存分配算法
引用本文:孙晓辉,王劲林,陈晓.实时系统中的动态内存分配算法[J].计算机工程,2008,34(8):80-81.
作者姓名:孙晓辉  王劲林  陈晓
作者单位:中国科学院声学研究所网络与数字信号工程技术中心,北京,100080
摘    要:针对实时系统中的内存分配问题,分析实时系统应用程序的行为特点,提出一种使用双级离散表和双级索引位图相结合的动态内存分配方法。对于较小的内存分配请求,使用位图索引来加快速度并且降低内存分割的次数。对于较大内存块,使用双级离散表的方法降低内存碎片。实验表明,该方法具有很低的内存碎片率和确定的响应时间,适合实时性要求较高的系统。

关 键 词:动态内存分配  实时系统  响应时间
文章编号:1000-3428(2008)08-0080-02
修稿时间:2007年7月17日

Dynamic Memory Allocation Algorithm in Real-time System
SUN Xiao-hui,WANG Jin-lin,CHEN Xiao.Dynamic Memory Allocation Algorithm in Real-time System[J].Computer Engineering,2008,34(8):80-81.
Authors:SUN Xiao-hui  WANG Jin-lin  CHEN Xiao
Affiliation:(Network and Digital Signal Engineering Centre, Institute of Acoustics, Chinese Academy of Sciences, Beijing 100080)
Abstract:Memory allocation is an important issue in developing real-time and embedded applications. This paper introduces a novel memory allocation algorithm which uses hybrid of bitmap fit and segregated fit. It uses a double bitmap fit when the memory block is small, which uses a double segregate list to manage larger memory blocks in order to lower fragmentation. Experimental results show the method has low fragmentation and a bounded response time, which is suit for real-time systems.
Keywords:dynamic memory allocation  real-time system  response time
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号