mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: Fixed format Conflicts: ext/opcache/zend_shared_alloc.c
This commit is contained in:
commit
3440054ca8
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ static size_t zend_shared_alloc_get_largest_free_block(void)
|
|||
#define MIN_FREE_MEMORY 64*1024
|
||||
|
||||
#define SHARED_ALLOC_FAILED() do { \
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "Not enough free shared space to allocate %zd bytes (%zd bytes free)", (size_t)size, (size_t)ZSMMG(shared_free)); \
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "Not enough free shared space to allocate "ZEND_LONG_FMT" bytes ("ZEND_LONG_FMT" bytes free)", (zend_long)size, (zend_long)ZSMMG(shared_free)); \
|
||||
if (zend_shared_alloc_get_largest_free_block() < MIN_FREE_MEMORY) { \
|
||||
ZSMMG(memory_exhausted) = 1; \
|
||||
} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue