diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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. @@ -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)); } } } |