From 6bd02df13f6fc1dddc2c65a5d9b56fd9619c435e Mon Sep 17 00:00:00 2001 From: mread Date: Fri, 24 Sep 2010 15:46:38 +0100 Subject: declaring fast allocation shrink hysteresis value The allocator code copied from 10.1 would have no default value set for KHeapShrinkHysRatio, since it's no longer a patchable constant. This change gives it a value of 0x800, to be tuned for performance. Task-number: QT-3967 Reviewed-by: Shane Kearns --- src/corelib/arch/symbian/qt_heapsetup_symbian.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/arch/symbian/qt_heapsetup_symbian.cpp b/src/corelib/arch/symbian/qt_heapsetup_symbian.cpp index 4e2095d..d6b7351 100644 --- a/src/corelib/arch/symbian/qt_heapsetup_symbian.cpp +++ b/src/corelib/arch/symbian/qt_heapsetup_symbian.cpp @@ -43,6 +43,8 @@ #ifdef QT_USE_NEW_SYMBIAN_ALLOCATOR +extern const TInt KHeapShrinkHysRatio = 0x800; + /* * \internal * Called from the qtmain.lib application wrapper. -- cgit v0.12