Commit Graph

234 Commits

Author SHA1 Message Date
Gustavo Lopes
514afd67b6 Fix bug #64729: compilation failure on x32 2013-04-30 19:28:24 +02:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Stuart Langley
2e24d9a2b3 Support building PHP with the native client toolchain.
The native client compiler defines the C macro __x86_64__, but the size
of an unsigned int is only 4 bytes. This causes the compile to fail
because the inline asm code compiled is for an 8 byte unsigned int. Add
the correct defines to fix this.

As detailed in:
http://code.google.com/p/nativeclient/issues/detail?id=2255
2012-09-17 15:52:55 -07:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Dmitry Stogov
4a25a7740d Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Dmitry Stogov
19dd70518c Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence) 2011-09-13 07:01:46 +00:00
Ilia Alshanetsky
34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Dmitry Stogov
6fca028fc5 MFH: Fixed bug #54957 (Memleak in alloc_globals_ctor) 2011-05-31 11:38:31 +00:00
Pierre Joye
a0a603d16b - null deref fix 2011-02-07 10:25:34 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Dmitry Stogov
656f1fb271 Bug #51155 (Unreasonable non-emalloc allocations of memory) 2010-10-04 15:50:47 +00:00
Dmitry Stogov
c2a92f3d27 Fixed bug #52888 (Zend MM shutdown crash) 2010-09-20 12:12:42 +00:00
Dmitry Stogov
411f9fbe4d We don't need to preallocate a memory segment in case we don't use zend memory manager 2010-09-08 07:52:49 +00:00
Dmitry Stogov
7c24be8672 Fixed incorrect reinitialization 2010-07-14 10:27:08 +00:00
Dmitry Stogov
3ea5bc7914 Reused single segment between requests. Saved one malloc/free for each request. 2010-07-07 10:34:50 +00:00
Pierre Joye
d839e3b9a4 - try again to get a crypto context when the key container did not exist (which is likely to be the case, on a 1st call) 2010-02-01 14:56:51 +00:00
Pierre Joye
5eb4db5e8f - Ensure that stderr output are not buffered, portability for tests 2010-01-25 14:47:19 +00:00
Sebastian Bergmann
d2281d1dff sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php 2010-01-05 20:46:53 +00:00
Dmitry Stogov
4016bfcd71 Fixed bug #46074 (Bus error during running PHP CLI under IRIX 6.5.30) 2009-09-03 14:33:11 +00:00
Andi Gutmans
4f34f5b0e3 - MFH 2009-08-09 04:46:30 +00:00
Arnaud Le Blanc
b4d9c79162 MFH: Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:13 +00:00
Felipe Pena
dc683c85f4 - MFH: Fixed bug #47852 (Compilation failure in zend_alloc.c) (Matteo) 2009-04-01 16:55:47 +00:00
Dmitry Stogov
8f14aed31b Fixed warning 2009-03-20 11:23:00 +00:00
David Soria Parra
72b20010d3 MFH: Fix compiler warning. munmap expects a void pointer. 2009-01-25 14:03:09 +00:00
David Soria Parra
a44511f33c MFH: Fix WS 2009-01-25 13:39:56 +00:00
Sebastian Bergmann
e115709774 MFH: Patch by David Soria Parra <dsp@php.net>. 2009-01-25 11:07:40 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Dmitry Stogov
8107a8f121 Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:20 +00:00
Felipe Pena
85ab423565 - MFH: Removed some TSRMLS_FETCH()s 2008-08-15 19:47:33 +00:00
Stanislav Malyshev
c123d7fea0 remove unneeded define 2008-08-01 22:43:16 +00:00
Dmitry Stogov
2cca3d0dd2 Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt) 2008-07-24 13:46:28 +00:00
Dmitry Stogov
9d4064afc0 Added check for small ZEMD_MM_SEG_SIZE 2008-07-21 17:06:35 +00:00
Matt Wilmas
2a8a4bd860 MFH: Fixed error message typo 2008-05-11 11:46:44 +00:00
Dmitry Stogov
e563a6d979 Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=) 2008-02-14 14:42:00 +00:00
Dmitry Stogov
2fd21da895 Increased Zend MM cache size 2008-01-24 12:21:32 +00:00
Antony Dovgal
06229e417f oops..
I didn't mean to commit this
2008-01-15 09:48:55 +00:00
Antony Dovgal
b101ee1a07 MFH: rename macros
patch by colder
2008-01-15 09:36:05 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
1e5e110844 x86_64 assembler optimization (Brain Shire) 2007-12-20 12:58:46 +00:00
Dmitry Stogov
caa15f0291 Macro definitions are moved to zend.h 2007-11-21 14:55:41 +00:00
Dmitry Stogov
c3c5d27fbc Fixed windows build (Rob) 2007-11-06 12:06:05 +00:00
Dmitry Stogov
609aa052b3 Allow user defined malloc/realloc/free 2007-11-06 07:22:13 +00:00
Dmitry Stogov
46dc96f3e0 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable 2007-10-25 07:32:40 +00:00
Dmitry Stogov
ae14f6ba78 Added "compact" handler for Zend MM storage. 2007-09-29 10:37:29 +00:00
Dmitry Stogov
d0ef6e9a95 Fixed bug #41713 (Persistent memory consumption on win32 since 5.2) 2007-07-25 11:13:00 +00:00
Antony Dovgal
a841027cca MFH 2007-05-28 10:07:50 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Dmitry Stogov
4de76f02ea Fixed 64-bit support 2007-04-09 15:38:58 +00:00
Dmitry Stogov
2dd2ac6d50 Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony) 2007-03-23 07:59:26 +00:00
Dmitry Stogov
d514bf27a6 Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm. 2007-03-20 06:46:48 +00:00