summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Added the --disable-zend-memory-manager switch to disable the Zend memoryDerick Rethans2005-06-071-2/+0
| | | | | | manager. #- I discussed this with Dmitry today - we found it useful.
* - Nuke the code duplicationfoobar2005-04-071-10/+5
|
* Fix build when USE_ZEND_ALLOC is 0foobar2005-04-071-2/+2
|
* Fix strdup() bug when USE_ZEND_ALLOC is disabledZeev Suraski2005-04-071-3/+5
|
* - Added missing defines.Derick Rethans2004-08-111-0/+8
| | | | | #- I did say the patch was for 4.3 ;-)
* - Commit Derick's patch for allowing Zend to use regular libc memoryAndi Gutmans2004-08-071-0/+43
| | | | | | | - allocation functions. Mainly useful in conjunction with tools such as - valgrind which enables us to find bugs we might not find with the - current memory managers boundary protection.
* - Improve performance by inlining zend_ptr_stack_n_push(). var_args canAndi Gutmans2004-07-301-1/+0
| | | | | usually not be inlined by compilers.
* - Add safe_pemalloc()Moriyoshi Koizumi2004-07-201-0/+2
|
* - 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
|