summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-11-07 23:03:25 -0800
committerXinchen Hui <laruence@gmail.com>2015-11-07 23:03:25 -0800
commit83de5364b79979c9da06aa01a5aafca4b7dba8bc (patch)
tree51151c3e91104a2b95f9574e2272b52e9fb84acb /Zend/zend_alloc.c
parent269674f79d718b78c865f4a0557cc342f703bda6 (diff)
downloadphp-git-83de5364b79979c9da06aa01a5aafca4b7dba8bc.tar.gz
manually apply the typo fix in master
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 06cda75363..c9d4de43a4 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -1463,9 +1463,9 @@ static void *zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, si
size = real_size;
#endif
#ifdef ZEND_WIN32
- /* On Windows we don't have ability to extend huge block in-place.
- * We allocate them with 2MB size granularuty, to avoid many
- * reallocatioons whenthey when they are extended by small peaces
+ /* On Windows we don't have ability to extend huge blocks in-place.
+ * We allocate them with 2MB size granularity, to avoid many
+ * reallocations when they are extended by small pieces
*/
new_size = ZEND_MM_ALIGNED_SIZE_EX(size, MAX(REAL_PAGE_SIZE, ZEND_MM_CHUNK_SIZE));
#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)
{
#ifdef ZEND_WIN32
- /* On Windows we don't have ability to extend huge block in-place.
- * We allocate them with 2MB size granularuty, to avoid many
- * reallocatioons whenthey when they are extended by small peaces
+ /* On Windows we don't have ability to extend huge blocks in-place.
+ * We allocate them with 2MB size granularity, to avoid many
+ * 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));
#else