Re: The Zend memory manager, backported to PHP 3.0
| From: | Zeev Suraski | Date: | Sat, 06 Feb 1999 03:08:34 +0000 |
| Subject: | Re: The Zend memory manager, backported to PHP 3.0 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3931@lists.php.net to get a copy of this message | ||
On 5 Feb 1999, Manuel Lemos wrote:
> Hello Zeev,
>
> On 05-Nov-98 15:12:35, you wrote:
>
> >I've just committed a backported version of the Zend improved memory
> >manager into PHP 3.0. The new memory manager offers improved debugging
> >support by making use of magic numbers.
>
> Superb!
>
> Only one question that I don't know because I haven't retrieved the latest
> PHP CVS tree. But how does that work in practice? You mention that you
> added two functions, but when are they called? Does PHP calls them for
> instance when each block is freed or the code that allocates the block has
> to call those functions?
I think I've mentioned it in my post, actually I'm pretty sure I did :)
Anyway, yes, memory blocks are checked implciitly each time a block is
freed. If errors are detected, they'd be printed out verbosely so people
can report about them. Anybody with his PHP binary compiled with
debugging support should be capable of noticing such bugs.
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net