mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c (gc_verify_heap_pages): fix no-op on heap_eden->pages
Shouldn't affect production use, but good to fix regardless :> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61391616f4
commit
b3f56c6be0
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -5290,8 +5290,8 @@ static int
|
|||
gc_verify_heap_pages(rb_objspace_t *objspace)
|
||||
{
|
||||
int remembered_old_objects = 0;
|
||||
remembered_old_objects = gc_verify_heap_pages_(objspace, &heap_eden->pages);
|
||||
remembered_old_objects = gc_verify_heap_pages_(objspace, &heap_tomb->pages);
|
||||
remembered_old_objects += gc_verify_heap_pages_(objspace, &heap_eden->pages);
|
||||
remembered_old_objects += gc_verify_heap_pages_(objspace, &heap_tomb->pages);
|
||||
return remembered_old_objects;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue