Module: wine Branch: refs/heads/master Commit: 13163349521e50e7039e188a22b6a814dcfcfc37 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=13163349521e50e7039e188a...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Jul 21 11:53:24 2006 +0200
ntdll: Add a few more free list entries to the heap.
---
dlls/ntdll/heap.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 68a234b..b62c4da 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -88,13 +88,12 @@ #define HEAP_MIN_DATA_SIZE 16 /* minimum size that must remain to shrink an allocated block */ #define HEAP_MIN_SHRINK_SIZE (HEAP_MIN_DATA_SIZE+sizeof(ARENA_FREE))
-#define HEAP_NB_FREE_LISTS 4 /* Number of free lists */ - /* Max size of the blocks on the free lists */ -static const DWORD HEAP_freeListSizes[HEAP_NB_FREE_LISTS] = +static const DWORD HEAP_freeListSizes[] = { - 0x20, 0x80, 0x200, ~0UL + 0x10, 0x20, 0x30, 0x40, 0x60, 0x80, 0x100, 0x200, 0x400, 0x1000, ~0UL }; +#define HEAP_NB_FREE_LISTS (sizeof(HEAP_freeListSizes)/sizeof(HEAP_freeListSizes[0]))
typedef struct {