diff options
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 11691d8377..2efa361297 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -196,7 +196,7 @@ int zend_mm_use_huge_pages = 0; #endif /* - * Memory is retrived from OS by chunks of fixed size 2MB. + * Memory is retrieved from OS by chunks of fixed size 2MB. * Inside chunk it's managed by pages of fixed size 4096B. * So each chunk consists from 512 pages. * The first page of each chunk is reseved for chunk header. @@ -254,7 +254,7 @@ struct _zend_mm_heap { zend_mm_chunk *main_chunk; zend_mm_chunk *cached_chunks; /* list of unused chunks */ - int chunks_count; /* number of alocated chunks */ + int chunks_count; /* number of allocated chunks */ int peak_chunks_count; /* peak number of allocated chunks for current request */ int cached_chunks_count; /* number of cached chunks */ double avg_chunks_count; /* average number of chunks allocated per request */ |