|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-A7A85C51-364F-5729-8C8A-369A3CB8FE67" xml:lang="en"><title>Patchable |
|
13 Constants: KHeapMinCellSize</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <codeblock id="GUID-085166EC-24E5-5CF3-9C7D-D4BA2821987E" xml:space="preserve">EXPORT_C extern const TInt KHeapMinCellSize;</codeblock> |
|
15 <table id="GUID-3C77CC43-38AD-501E-B617-4A34D58EBB5C"> |
|
16 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
17 <tbody> |
|
18 <row> |
|
19 <entry><p>Exported from: </p> </entry> |
|
20 <entry><p> <filepath>EUSER.DLL</filepath>, <filepath>EKERN.EXE</filepath> </p> </entry> |
|
21 </row> |
|
22 <row> |
|
23 <entry><p>Defined in: </p> </entry> |
|
24 <entry><p> <filepath> .../os/kernelhwsrv/kernel/eka/common/heap.cpp</filepath> </p> </entry> |
|
25 </row> |
|
26 <row> |
|
27 <entry><p>Purpose: </p> </entry> |
|
28 <entry><p>This constant defines an <i>adjustment</i> to the minimum value |
|
29 of the size of a heap cell created by Symbian's default heap implementation, <xref href="GUID-EFAFDD75-7E59-306A-882D-317F5564979E.dita"><apiname>RHeap</apiname></xref>. |
|
30 The calculated minimum value is stored in the protected data member <xref href="GUID-EFAFDD75-7E59-306A-882D-317F5564979E.dita#GUID-EFAFDD75-7E59-306A-882D-317F5564979E/GUID-EEE6E931-D66B-3FF0-B035-73103CFD70A4"><apiname>RHeap::iMinCell()</apiname></xref>. </p> <p>By |
|
31 changing the value of this constant, the actual minimum size of a heap cell |
|
32 can be increased. </p> <p>The value of this constant provided by Symbian is |
|
33 zero, which means that, by default, the minimum heap cell size is the same |
|
34 as for previous versions of the platform. </p> </entry> |
|
35 </row> |
|
36 </tbody> |
|
37 </tgroup> |
|
38 </table></conbody></concept> |