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

ruby-changes:31460

From: tarui <ko1@a...>
Date: Tue, 5 Nov 2013 20:15:33 +0900 (JST)
Subject: [ruby-changes:31460] tarui:r43539 (trunk): * gc.c (is_live_object): A hidden object may be a live object.

tarui	2013-11-05 20:15:21 +0900 (Tue, 05 Nov 2013)

  New Revision: 43539

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

  Log:
    * gc.c (is_live_object): A hidden object may be a live object.
      [ruby-dev:47788] [Bug #9072]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43538)
+++ ChangeLog	(revision 43539)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov  5 20:14:32 2013  Masaya Tarui  <tarui@r...>
+
+	* gc.c (is_live_object): A hidden object may be a live object.
+	  [ruby-dev:47788] [Bug #9072]
+
 Tue Nov  5 13:37:19 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c: add support to estimate increase of oldspace memory usage.
Index: gc.c
===================================================================
--- gc.c	(revision 43538)
+++ gc.c	(revision 43539)
@@ -2193,7 +2193,6 @@ is_live_object(rb_objspace_t *objspace, https://github.com/ruby/ruby/blob/trunk/gc.c#L2193
       case 0: case T_ZOMBIE:
 	return FALSE;
     }
-    if (RBASIC(ptr)->klass == 0) return FALSE;
     if (is_dead_object(objspace, ptr)) return FALSE;
     return TRUE;
 }

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

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