aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-14 16:50:06 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-14 16:50:06 +0000
commitdec9d2f109da9ef669616115e0cefebba57d084a (patch)
treed2b1ea860477f7511e2f8b59c1afe06979c31780 /gc.c
parent60dd310b33ce5653b97a842654bfd85068d67786 (diff)
downloadruby-dec9d2f109da9ef669616115e0cefebba57d084a.tar.gz
gc.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 87048b8dab..b0c9041948 100644
--- a/gc.c
+++ b/gc.c
@@ -1409,7 +1409,7 @@ heap_pages_expand_sorted(rb_objspace_t *objspace)
{
/* usually heap_allocatable_pages + heap_eden->total_pages == heap_pages_sorted_length
* because heap_allocatable_pages contains heap_tomb->total_pages (recycle heap_tomb pages).
- * howerver, if there are pages which do not have empty slots, then try to create new pages
+ * however, if there are pages which do not have empty slots, then try to create new pages
* so that the additional allocatable_pages counts (heap_tomb->total_pages) are added.
*/
size_t next_length = heap_allocatable_pages;