mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
fixed typo
This commit is contained in:
parent
b83782e682
commit
08c97ea0a1
@ -1463,9 +1463,9 @@ static void *zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, si
|
|||||||
size = real_size;
|
size = real_size;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZEND_WIN32
|
#ifdef ZEND_WIN32
|
||||||
/* On Windows we don't have ability to extend huge block in-place.
|
/* On Windows we don't have ability to extend huge blocks in-place.
|
||||||
* We allocate them with 2MB size granularuty, to avoid many
|
* We allocate them with 2MB size granularuty, to avoid many
|
||||||
* reallocatioons when they are extended by small peaces
|
* reallocations when they are extended by small pieces
|
||||||
*/
|
*/
|
||||||
new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE));
|
new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE));
|
||||||
#else
|
#else
|
||||||
@ -1731,9 +1731,9 @@ static void zend_mm_change_huge_block_size(zend_mm_heap *heap, void *ptr, size_t
|
|||||||
static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
|
static void *zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
|
||||||
{
|
{
|
||||||
#ifdef ZEND_WIN32
|
#ifdef ZEND_WIN32
|
||||||
/* On Windows we don't have ability to extend huge block in-place.
|
/* On Windows we don't have ability to extend huge blocks in-place.
|
||||||
* We allocate them with 2MB size granularuty, to avoid many
|
* We allocate them with 2MB size granularuty, to avoid many
|
||||||
* reallocatioons when they are extended by small peaces
|
* reallocations when they are extended by small pieces
|
||||||
*/
|
*/
|
||||||
size_t new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE));
|
size_t new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE));
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user