作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (20): 264-266. doi: 10.3969/j.issn.1000-3428.2009.20.093

• 开发研究与设计技术 • 上一篇    下一篇

嵌入式实时动态内存管理机制

顾胜元1,杨 丹1,黄海伦2   

  1. (1. 重庆大学软件工程学院,重庆 400044;2. 中兴通讯股份有限公司,深圳 518004)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-20 发布日期:2009-10-20

Embedded Real-time Dynamic Memory Management Mechanism

GU Sheng-yuan1, YANG Dan1, HUANG Hai-lun2   

  1. (1. School of Software Engneering, Chongqing University, Chongqing 400044;2. Zhongxing Telecommunication Equipment Co. Ltd., Shenzhen 518004)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-20 Published:2009-10-20

摘要: 长时间持续运行的通信设备必须满足实时性、可靠性和高效性的需求,针对通信领域的该特点,提出一种嵌入式实时动态内存管理机制。该机制对嵌入式系统有限的内存资源进行统一再分配,为频繁申请和释放内存块的应用分配独立的内存空间。实验结果表明,该机制能实时地提高动态内存管理效率,减少内存碎片,保证系统的健壮性,还提供了内存越界和内存泄漏的检测手段。

关键词: 动态内存管理, 实时性, 分配

Abstract: The communication equipments running continuously in a long time must meet the needs of real-time, reliability and efficiency, this paper proposes embedded real-time dynamic memory management mechanism aiming at the feature in communications. It can do a unified redistribution with the limited memory resources in embedded systems, distribute an independent memory space for applications which allocate and free memory frequently. Experimental result shows that the mechanism can improve the dynamic memory management efficiency in real-time, reduce memory fragments, ensure the robustness of the system, and provide a method for detecting memory overrun and memory leak.

Key words: dynamic memory management, real-time, distribution

中图分类号: