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

ruby-changes:29380

From: ko1 <ko1@a...>
Date: Wed, 19 Jun 2013 23:30:24 +0900 (JST)
Subject: [ruby-changes:29380] ko1:r41432 (trunk): * gc.c (rb_gc_force_recycle): clear oldgen bitmap, too.

ko1	2013-06-19 23:30:13 +0900 (Wed, 19 Jun 2013)

  New Revision: 41432

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

  Log:
    * gc.c (rb_gc_force_recycle): clear oldgen bitmap, too.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41431)
+++ ChangeLog	(revision 41432)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jun 19 23:29:29 2013  Koichi Sasada  <ko1@a...>
+
+	* gc.c (rb_gc_force_recycle): clear oldgen bitmap, too.
+
 Wed Jun 19 21:02:13 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (rb_uint2big): Consider environments BDIGIT is bigger than
Index: gc.c
===================================================================
--- gc.c	(revision 41431)
+++ gc.c	(revision 41432)
@@ -3809,6 +3809,7 @@ rb_gc_force_recycle(VALUE p) https://github.com/ruby/ruby/blob/trunk/gc.c#L3809
 
 #if USE_RGENGC
     CLEAR_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(p), p);
+    CLEAR_IN_BITMAP(GET_HEAP_OLDGEN_BITS(p), p);
 #endif
 
     objspace->total_freed_object_num++;

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

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