summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
Commit message (Collapse)AuthorAgeFilesLines
...
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-2/+2
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* - Improve performance of zend_alloc by stopping the size from being a bitAndi Gutmans2004-07-151-2/+1
| | | | | - field.
* - More fixesAndi Gutmans2004-05-251-1/+1
|
* - Make fix compile.Andi Gutmans2004-05-251-1/+1
|
* - Fix memory leak in mem cache in conjunction with Zend MM. How come no oneAndi Gutmans2004-05-251-1/+1
| | | | | - noticed this? :)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* cleanup & centralize ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC so thatSascha Schumann2003-08-281-7/+1
| | | | | they can be used by downstream applications
* Enable attribute((malloc)) for GCC 2.96Sascha Schumann2003-08-281-1/+1
|
* GCC 2 does not know about malloc yet.Sascha Schumann2003-08-281-1/+5
|
* provide attribute((malloc)) where appropiateSascha Schumann2003-08-281-9/+11
|
* Improve trackingZeev Suraski2003-08-181-0/+7
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* add safe_emallocSascha Schumann2003-04-241-0/+3
|
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+2
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* - Don't keep allocated blocks in a linked list if we're in non-debug modeAndi Gutmans2002-06-241-0/+4
| | | | | - as now the memory manager takes care to nuke all leaking blocks.
* - MFZE1Andi Gutmans2002-06-221-2/+1
|
* - Nuke persist_alloc().Andi Gutmans2002-06-221-3/+0
|
* Revert.Sebastian Bergmann2002-04-281-1/+2
|
* MFZE1: If the size-operands of memset are constants, the compiler can turn ↵Sebastian Bergmann2002-04-271-2/+1
| | | | them into fast inline code. So, instead of using ecalloc, we use emalloc + memset in macro form now. emalloc will not return NULL, so the chosen macro form is safe. This is not true for malloc(3). An inline function accomodates our needs here. Suggested by: http://www.mail-archive.com/dev%40httpd.apache.org/msg02492.html (Sascha)
* - MFZE1Andi Gutmans2002-02-261-1/+1
|
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* WhitespaceZeev Suraski2001-08-111-11/+11
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-4/+1
|
* - WhitespaceAndi Gutmans2001-04-291-1/+1
|
* - Improve overwrite detection in debug mode.Andi Gutmans2001-04-291-1/+1
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* Fix Zend build for non ZTSZeev Suraski2000-11-191-0/+3
|
* Add thread-safety debugging information (idea - Dmitri Dmitrienko)Zeev Suraski2000-11-181-0/+4
|
* The new INI parser is showing some signs of lifeZeev Suraski2000-10-291-1/+2
|
* Replace macros which begin with an underscore through an appropiatelySascha Schumann2000-07-031-2/+2
| | | | | named macro.
* - Change cache size and only initialize part of it.Andi Gutmans2000-06-221-3/+5
|
* - More correct way of doing bit maskAndi Gutmans2000-06-141-1/+1
|
* - Allocate and cache in 8 byte blocks. Most allocators anyway use 8 byteAndi Gutmans2000-06-091-2/+2
| | | | | | - blocks. This should help fragmentation and cache hits. - The old tree is tagged as PRE_EIGHT_BYTE_ALLOC_PATCH
* *** empty log message ***Andi Gutmans2000-03-251-1/+1
|
* It's official now...Zeev Suraski2000-03-061-3/+3
|
* (c) patchZeev Suraski2000-02-191-1/+1
|
* - Run it on align_testAndi Gutmans2000-01-301-1/+1
|
* - This will save some memory w/ GCC compilers on some platformsAndi Gutmans2000-01-291-1/+5
|
* namespace protectionZeev Suraski1999-12-261-5/+5
|
* Fix warnings surfacing in maintainer-mode.Stig S. Bakken1999-12-011-0/+1
|
* - Shift around header files.Andi Gutmans1999-09-051-1/+3
|
* Beef up debug macrosZeev Suraski1999-08-281-28/+29
|
* Better debug macrosZeev Suraski1999-08-271-39/+34
|
* 0.91 updateZeev Suraski1999-07-191-2/+2
|
* License updateZeev Suraski1999-07-161-4/+8
|
* * Support recoverable failure from erealloc()Zeev Suraski1999-07-091-21/+24
| | | | | * Fix the shutdown code on an unrecoverable erealloc() failure
* * Make the memory leak reporting code much better with repeatsZeev Suraski1999-06-261-0/+1
| | | | | * Remove useless variables
* * Add struct name to all typedef's so that they can be debugged with MSVCZeev Suraski1999-05-221-1/+1
| | | | | | | | | | * Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus causing AiCount to be decreased multiple times even though it was increased only once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only decrease AiCount on the last FETCH_DIM. * Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason MSVC doesn't report these :I