Re: [PHP-DEV] Question concerning zend_mem_header

2002-03-23 Thread Zeev Suraski
At 02:08 PM 3/23/2002, Stefan Esser wrote: >Hi, > >currently all memory allocated with emalloc has a >zend_mem_header infront of it. This header contains >the backward and forward pointer and the size of this >block. My question is: is there any need for this >linked list on a production system? I

Re: [PHP-DEV] Question concerning zend_mem_header

2002-03-23 Thread Stefan Esser
On Sat, Mar 23, 2002 at 01:23:41PM +0200, Andi Gutmans wrote: > The list is used in order to cleanup any per-request memory leaks (Also in > release mode). It's very much needed. Ahhh i see. So it would not be needed if there aren't any memory leaks anymore. Okay now I understand the use of it.

Re: [PHP-DEV] Question concerning zend_mem_header

2002-03-23 Thread Andi Gutmans
The list is used in order to cleanup any per-request memory leaks (Also in release mode). It's very much needed. Andi At 13:08 23/03/2002 +0100, Stefan Esser wrote: >Hi, > >currently all memory allocated with emalloc has a >zend_mem_header infront of it. This header contains >the backward and f

[PHP-DEV] Question concerning zend_mem_header

2002-03-23 Thread Stefan Esser
Hi, currently all memory allocated with emalloc has a zend_mem_header infront of it. This header contains the backward and forward pointer and the size of this block. My question is: is there any need for this linked list on a production system? I commented the ADD_POINTER_TO_LIST and REMOVE_POI