[前][次][番号順一覧][スレッド一覧]

ruby-changes:34247

From: ko1 <ko1@a...>
Date: Tue, 3 Jun 2014 13:00:30 +0900 (JST)
Subject: [ruby-changes:34247] ko1:r46328 (trunk): * gc.c (check_gen_consistency): fix error message.

ko1	2014-06-03 13:00:18 +0900 (Tue, 03 Jun 2014)

  New Revision: 46328

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46328

  Log:
    * gc.c (check_gen_consistency): fix error message.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46327)
+++ ChangeLog	(revision 46328)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun  3 12:59:32 2014  Koichi Sasada  <ko1@a...>
+
+	* gc.c (check_gen_consistency): fix error message.
+
 Tue Jun  3 12:40:23 2014  Koichi Sasada  <ko1@a...>
 
 	* gc.c: count old/young objects more correctly.
Index: gc.c
===================================================================
--- gc.c	(revision 46327)
+++ gc.c	(revision 46328)
@@ -749,7 +749,7 @@ check_gen_consistency(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L749
 
 #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) https://github.com/ruby/ruby/blob/trunk/gc.c#L759
 	}
 	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));
 	    }
 	}
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]