首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> 专家专栏 >> Symbian翻译小组 >> Symbian OS SDK V8.1a >> Symbian OS guide >> Base >> Using User Library >> Memory Management >> concepts >> 正文
堆结构
作者:LeeFj    文章来源:http://www.nbszyy.com.cn/blog/default.asp    更新时间:2005-12-9 10:52:44


                  Symbian sdk帮助-堆结构
               译文作者: Leefj
  译文版本:1.0   译文时间:2005-12-9

 

Structure of a heap

堆结构

 

A heap simply consists of two lists of cells; one is the list of allocated cells and the other the list of free cells. Each list is anchored in the heap object.

 

堆只是简单的包含了两个内存单元列表;一个是已经分配出去的内存单元列表;另外一个是空闲的内存单元列表。两个列表够固着于Heap对象。

 

A cell consists of a cell header followed by the body of the cell itself. The body of the cell is the area of memory which is considered allocated.

 

内存单元包括一个跟随在单元体后的单元句柄。单元体可以认为是已经分配出去的内存区。

 

The cell header is a struct of type RHeap::SCell defined as part of the RHeap class in e32std.h.

 

单元头是一个在RHeap类中定义的 RHeap::SCell 结构体。

 

The following diagram shows a typical mix of free and allocated cells.

 

下图是一个空闲单元和已分配单元混合在一起的示意图:

相关文章:
Symbian sdk帮助-类TWordModelHeaderFactoryV3
Symbian sdk帮助-类CStyleShortCutList
Symbian sdk帮助-类CShgCellAdditionalData
Symbian sdk帮助-类CShgAdditionalDataIter
Symbian sdk帮助-术语表C
Symbian sdk帮助-术语表Q
Symbian sdk帮助-术语表X
Symbian sdk帮助-术语表J
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号