summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-03 04:00:18 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-03 04:00:18 +0000
commit58390617efec4b13b8b2cd73015a49cbb56580b5 (patch)
tree89f6dee0935fff1919f19a405f91504e6c914f06
parentbaff4dfef950989f34657d6ade26c990f50900e4 (diff)
* 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--ChangeLog4
-rw-r--r--gc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f98eadf4611..957af639d08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/gc.c b/gc.c
index 2cf1dae9cfb..dd1599ab5e9 100644
--- a/gc.c
+++ b/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));
}
}
}