Re: Upgrading www.php.net to PHP 5.0
| From: | Andi Gutmans | Date: | Mon, 28 Jun 2004 15:55:49 +0000 |
| Subject: | Re: Upgrading www.php.net to PHP 5.0 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10828@lists.php.net to get a copy of this message | ||
BTW, besides ZEND_MM being slightly faster on a few benchmarks I made (although it's platform dependant so likely malloc could be faster on others), I don't mind disabling it for 5.0.0.
That said, there's a bug lurking which we need to find before, and as I mentioned, I don't think it's in the ZEND_MM code.
Andi
At 08:50 AM 6/28/2004 -0700, Andi Gutmans wrote:
Sterling, As far as I can tell, it's not ZEND_MM which is leaking, but after I fixed a bug in zend_alloc.c, these problems started happening. We are using the same zend_alloc.c code for ZEND_MM and allocator on Win32, so in any case, this problem needs to be fixed. It might be that it happens when ZEND_MM is enabled but it doesn't mean that the fault is in ZEND_MM. Check your facts first or even better, why don't you help debug the problem? Andi At 08:46 AM 6/28/2004 -0700, Sterling Hughes wrote:yep, this is what I found too, and have been saying for nearly a year: http://www.edwardbear.org/blog/archives/000129.html#000129 maybe one of these days we'll give up on the ZEND_MM, which doesn't by us much anyway and has leaked since well before and after beta 1. Ok, that's my annoying I told you so for the month, back to lurking :) -sterling On Mon, 28 Jun 2004 13:07:38 +0200 (CEST), Derick Rethans <derick@php.net> wrote:On Mon, 28 Jun 2004, Zeev Suraski wrote:Edin, Can you try disabling ZEND_MM and see if the problem persists? (it's in Zend/zend_mm.h, #undef ZEND_MM).Will do. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php