diff -r 79859ed3eea9 -r 919f36ff910f webengine/osswebengine/MemoryManager/Inc/MemoryManager.h --- a/webengine/osswebengine/MemoryManager/Inc/MemoryManager.h Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/osswebengine/MemoryManager/Inc/MemoryManager.h Wed Sep 01 12:28:30 2010 +0100 @@ -297,6 +297,55 @@ * @return */ IMPORT_C static void CloseFastAllocator(RAllocator* aDefaultAllocator); + + /** + * Create fast allocator and switch as default heap. Special case if fast allocator + * has to be created from SetupThreadHeap(). + * + * @since 9.2 + * @param + * @return + */ + IMPORT_C static void CreateFastAllocator(); + + /** + * Initialize MemoryManager library. Special case if CreateFastAllocator is + * called from SetupThreadHeap(). + * + * @since 9.2 + * @param + * @return + */ + IMPORT_C static void InitFastAllocator(); + + /** + * initialize the OOM handler in the memorypool + * @since 9.2 + * @param + * @param + * @return + */ + IMPORT_C static void InitOOMDialog(); + + /** + * Reset the OOM dialog display flag in the memorypool; we want to pop the OOM dialog once per page, + * so we need to clear this when we are either done with the page (it unloads) or when we load a new one, + * so that it will display again when we run out of memory + * @since 9.2 + * @param + * @param + * @return + */ + IMPORT_C static void ResetOOMDialogDisplayed(); + + /** + * Dumps the memory logs i.e. heap allocated, heap free, system free, heap size etc to log + * file c:\logs\webcore\Memory.log + * @since 9.2 + * @param + * @return + */ + IMPORT_C static void DumpMemoryLogs(); }; #endif// !_MEMORYMANAGER_H_