* gc.c (check_gen_consistency): fix error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
baff4dfef9
commit
58390617ef
@ -1,3 +1,7 @@
|
||||
Tue Jun 3 12:59:32 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (check_gen_consistency): fix error message.
|
||||
|
||||
Tue Jun 3 12:40:23 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c: count old/young objects more correctly.
|
||||
|
4
gc.c
4
gc.c
@ -749,7 +749,7 @@ check_gen_consistency(VALUE obj)
|
||||
|
||||
#if !RGENGC_AGE2_PROMOTION
|
||||
if (!old_flag) {
|
||||
rb_bug("check_gen_consistency: %p (%s) is not infant, but is not old (on 2gen).", (void *)obj, obj_type_name(obj));
|
||||
rb_bug("check_gen_consistency: %p (%s) is promoted, but is not old.", (void *)obj, obj_type_name(obj));
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -759,7 +759,7 @@ check_gen_consistency(VALUE obj)
|
||||
}
|
||||
else {
|
||||
if (old_flag) {
|
||||
rb_bug("check_gen_consistency: %p (%s) is not infant, but is old.", (void *)obj, obj_type_name(obj));
|
||||
rb_bug("check_gen_consistency: %p (%s) is not promoted, but is old by bitmap.", (void *)obj, obj_type_name(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user