cvs: ZendEngine2(PHP_5_3) / zend_alloc.c

[email protected] ("Dmitry Stogov")
Newsgroups php.zend-engine.cvs
Message-ID <cvsdmitry1201177292@cvsserver>
dmitry		Thu Jan 24 12:21:32 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_alloc.c 
  Log:
  Increased Zend MM cache size
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.144.2.3.2.43.2.9&r2=1.144.2.3.2.43.2.10&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.9 ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.10
--- ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.9	Tue Jan 15 09:48:55 2008
+++ ZendEngine2/zend_alloc.c	Thu Jan 24 12:21:32 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_alloc.c,v 1.144.2.3.2.43.2.9 2008/01/15 09:48:55 tony2001 Exp $ */
+/* $Id: zend_alloc.c,v 1.144.2.3.2.43.2.10 2008/01/24 12:21:32 dmitry Exp $ */
 
 #include "zend.h"
 #include "zend_alloc.h"
@@ -390,7 +390,7 @@
 #define ZEND_MM_NUM_BUCKETS (sizeof(size_t) << 3)
 
 #define ZEND_MM_CACHE 1
-#define ZEND_MM_CACHE_SIZE (ZEND_MM_NUM_BUCKETS * 2 * 1024)
+#define ZEND_MM_CACHE_SIZE (ZEND_MM_NUM_BUCKETS * 4 * 1024)
 
 #ifndef ZEND_MM_CACHE_STAT
 # define ZEND_MM_CACHE_STAT 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.