CVS: winex/libs/ptmalloc3 malloc.c,1.4,1.5
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/libs/ptmalloc3 malloc.c,1.4,1.5Update of /var/lib/cvsd/cvsroot/winex/libs/ptmalloc3
In directory agravaine:/tmp/cvs-serv18178/libs/ptmalloc3
Modified Files:
malloc.c
Log Message:
- bump up allocation granularity to reduce the number of tracked segments (which primarily helps by speeding up freeing)
Index: malloc.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/libs/ptmalloc3/malloc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- malloc.c 30 Mar 2007 20:11:48 -0000 1.4
+++ malloc.c 30 Mar 2007 20:28:04 -0000 1.5
@@ -2910,7 +2910,7 @@
/* GetSystemInfo() can't be called it - it requires working Heap*() */
#ifdef TGCHANGES
mparams.page_size = getpagesize();
- mparams.granularity = 0x10000;
+ mparams.granularity = 0x80000;
#elif !defined(WIN32)
mparams.page_size = malloc_getpagesize;
mparams.granularity = ((DEFAULT_GRANULARITY != 0)?