1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo.

* gc.c: beacuse -> because.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-01-15 12:00:06 +00:00
parent 2701001b2f
commit c420603f72

2
gc.c
View file

@ -1405,7 +1405,7 @@ static void
heap_pages_expand_sorted(rb_objspace_t *objspace)
{
/* usually heap_allocatable_pages + heap_eden->total_pages == heap_pages_sorted_length
* beacuse heap_allocatable_pages contains heap_tomb->total_pages (recycle heap_tomb pages).
* 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
* so that the additional allocatable_pages counts (heap_tomb->total_pages) are added.
*/