author | Tom Pritchard <tomp@symbian.org> |
Wed, 27 Oct 2010 14:58:16 +0100 | |
changeset 89 | 1650c5a7be8c |
permissions | -rw-r--r-- |
89
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// ecomserver.exe Plug-in server framework |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
// When macro defined trace messages are compiled in and sent to RDebug |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
// This line must always be commented before submitting to the MCL. See EComDebug.h |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
MACRO ECOM_TRACE |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
// EPOCHEAPSIZE |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
// Investigations were carried out for defect INC115057. It was found (using RDir rather |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
// than CDir) that after a scan of around 1150 plug-ins the committed heap size increased |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
// from 3980 to 618380 bytes. After a re-scan the committed heap size was still 618380. |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
// The max is set to 2MB to avoid overflows when the number of plug-ins a licensee has is larger. |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
// The min is set to 192K. This is approximately 85% of the techview committed heap after bootup |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
// so all devices will need at least this. (In techview environment with 317 plug-ins the committed |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
// heap size after bootup was 233K) |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
// |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
// |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
/** |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
@file |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
*/ |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
EPOCHEAPSIZE 0x00030000 0x00200000 |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
TARGET ecomserver.exe |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
targettype EXE |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
// Dynamic Dll UID followed by the unique UID for this executable |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
UID 0x1000008D 0x10009D8F |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |
VENDORID 0x70000001 |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
42 |
CAPABILITY ProtServ |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
43 |
SOURCEPATH ../../Framework/frame |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
44 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
45 |
// And keep this server side |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
46 |
SOURCE EComServerStart.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
47 |
SOURCE EComServer.cpp EComServerSession.cpp resolvercache.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
48 |
SOURCE Registrar.cpp RegistryData.cpp DefaultResolver.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
49 |
SOURCE RegistryResolveTransaction.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
50 |
SOURCE ParseImplementationData.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
51 |
SOURCE Discoverer.cpp BackupNotifier.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
52 |
SOURCE DowngradePath.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
53 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
54 |
SOURCE ImplementationInformation.cpp RomOnlyResolver.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
55 |
SOURCE EComEntry.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
56 |
SOURCE clientrequest.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
57 |
SOURCE EComEntryBase.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
58 |
SOURCE ServerStartupManager.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
59 |
SOURCE DriveInfo.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
60 |
SOURCE FileUtils.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
61 |
SOURCE EComPerformance.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
62 |
#ifdef __ECOM_SERVER_TESTABILITY__ |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
63 |
SOURCE TestHarnessDomainMember.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
64 |
#endif |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
65 |
SOURCE EComPatchDataConstantv2.cpp |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
66 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
67 |
USERINCLUDE ../../Framework/inc ../../Test_Bed/inc |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
68 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
69 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
70 |
LIBRARY euser.lib efsrv.lib estor.lib bafl.lib domaincli.lib |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
71 |
LIBRARY bsul.lib hal.lib |
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
72 |
|
1650c5a7be8c
Hack to switch on ECOM server logging
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
73 |
SMPSAFE |