summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2020-08-27 09:24:21 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2020-09-01 22:03:13 -0400
commit11922b5e030808b16fd2c604637e046b2d01b0f0 (patch)
treed1011f6bf52cb7dc9b75f8a2e9542ffd23aed1ce /gc.c
parent4c3f0597de99103374012522beecadeaa9e25eed (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 5240852cc7..05d75e16e2 100644
--- a/gc.c
+++ b/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);
}
}