diff options
author | Peter Zhu <peter@peterzhu.ca> | 2020-08-27 09:24:21 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2020-09-01 22:03:13 -0400 |
commit | 11922b5e030808b16fd2c604637e046b2d01b0f0 (patch) | |
tree | d1011f6bf52cb7dc9b75f8a2e9542ffd23aed1ce /gc.c | |
parent | 4c3f0597de99103374012522beecadeaa9e25eed (diff) |
Fix error message for wb unprotected objects count
This error is about wb unprotected objects, not old objects.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3463
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |