mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix error message for wb unprotected objects count
This error is about wb unprotected objects, not old objects.
This commit is contained in:
parent
4c3f0597de
commit
11922b5e03
Notes:
git
2020-09-02 11:03:35 +09:00
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -6328,7 +6328,7 @@ gc_verify_internal_consistency(rb_objspace_t *objspace)
|
|||
objspace->rgengc.old_objects, data.old_object_count);
|
||||
}
|
||||
if (objspace->rgengc.uncollectible_wb_unprotected_objects != data.remembered_shady_count) {
|
||||
rb_bug("inconsistent old slot number: expect %"PRIuSIZE", but %"PRIuSIZE".",
|
||||
rb_bug("inconsistent number of wb unprotected objects: expect %"PRIuSIZE", but %"PRIuSIZE".",
|
||||
objspace->rgengc.uncollectible_wb_unprotected_objects, data.remembered_shady_count);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue