首页> 外国专利> A METHOD FOR EFFICIENTLY MANAGING A DYNAMIC MEMORY IN EMBEDDED SYSTEM AND A SYSTEM THEREFOR

A METHOD FOR EFFICIENTLY MANAGING A DYNAMIC MEMORY IN EMBEDDED SYSTEM AND A SYSTEM THEREFOR

机译:在嵌入式系统中有效管理动态内存的方法及其系统

摘要

Provided is a method for efficiently managing a dynamic embedded system, which improves the execution speed, reduces a memory fragmentation, and minimizes memory managing overhead by dividing the memory space according to memory block and applying different managing methods according to the size of the memory block. The invention divides a dynamic memory into small blocks and large blocks, and registers them to a small free block hash table and a large free block list of a memory manager. When the application requests a memory allocation, whether the requested memory is a small block or not is determined, and if the memory block is a small block then a memory block is allocated from the hash table, or if it is not a small block or it is impossible to allocate from the hash table then the memory block is allocated from the block list.
机译:提供了一种有效地管理动态嵌入式系统的方法,该方法通过根据存储块划分存储空间并根据存储块的大小应用不同的管理方法来提高执行速度,减少内存碎片并最大程度地减少内存管理开销。 。本发明将动态存储器分为小块和大块,并将它们注册到存储器管理器的小空闲块哈希表和大空闲块列表。当应用程序请求内存分配时,确定所请求的内存是否为小块,如果内存块为小块,则从哈希表中分配一个内存块,如果不是小块,则为如果无法从哈希表中进行分配,则无法从块列表中进行分配。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号