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

ruby-changes:34854

From: ko1 <ko1@a...>
Date: Fri, 25 Jul 2014 13:43:23 +0900 (JST)
Subject: [ruby-changes:34854] ko1:r46937 (trunk): * gc.c (gc_mark_stacked_objects): fix error message.

ko1	2014-07-25 13:43:09 +0900 (Fri, 25 Jul 2014)

  New Revision: 46937

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

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

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46936)
+++ ChangeLog	(revision 46937)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 25 13:42:02 2014  Koichi Sasada  <ko1@a...>
+
+	* gc.c (gc_mark_stacked_objects): fix error message.
+
 Fri Jul 25 13:18:00 2014  Will Farrington  <wfarrington@d...>
 
 	* ext/socket/socket.c (sock_gethostname): Use NI_MAXHOST to support
Index: gc.c
===================================================================
--- gc.c	(revision 46936)
+++ gc.c	(revision 46937)
@@ -4101,7 +4101,7 @@ gc_mark_stacked_objects(rb_objspace_t *o https://github.com/ruby/ruby/blob/trunk/gc.c#L4101
     if (!mstack->index) return;
     while (pop_mark_stack(mstack, &obj)) {
 	if (RGENGC_CHECK_MODE > 0 && !gc_marked(objspace, obj)) {
-	    rb_bug("gc_mark_stacked_objects: %p (%s) is infant, but not marked.", (void *)obj, obj_type_name(obj));
+	    rb_bug("gc_mark_stacked_objects: %p (%s) is not marked.", (void *)obj, obj_type_name(obj));
 	}
         gc_mark_children(objspace, obj);
     }

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

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