diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-03 04:00:18 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-03 04:00:18 +0000 |
commit | 58390617efec4b13b8b2cd73015a49cbb56580b5 (patch) | |
tree | 89f6dee0935fff1919f19a405f91504e6c914f06 | |
parent | baff4dfef950989f34657d6ade26c990f50900e4 (diff) | |
download | ruby-58390617efec4b13b8b2cd73015a49cbb56580b5.tar.gz |
* 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
-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)); } } } |