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

ruby-changes:28917

From: ko1 <ko1@a...>
Date: Tue, 28 May 2013 02:57:20 +0900 (JST)
Subject: [ruby-changes:28917] ko1:r40969 (trunk): * gc.c (gc_stat): remove wrong rest_sweep().

ko1	2013-05-28 02:57:08 +0900 (Tue, 28 May 2013)

  New Revision: 40969

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

  Log:
    * gc.c (gc_stat): remove wrong rest_sweep().

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40968)
+++ ChangeLog	(revision 40969)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue May 28 02:56:15 2013  Koichi Sasada  <ko1@a...>
+
+	* gc.c (gc_stat): remove wrong rest_sweep().
+
 Tue May 28 02:44:23 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (garbage_collect_body): fix GC_ENABLE_LAZY_SWEEP condition.
Index: gc.c
===================================================================
--- gc.c	(revision 40968)
+++ gc.c	(revision 40969)
@@ -4051,8 +4051,6 @@ gc_stat(int argc, VALUE *argv, VALUE sel https://github.com/ruby/ruby/blob/trunk/gc.c#L4051
         hash = rb_hash_new();
     }
 
-    rest_sweep(objspace);
-
     rb_hash_aset(hash, sym_count, SIZET2NUM(objspace->count));
     /* implementation dependent counters */
     rb_hash_aset(hash, sym_heap_used, SIZET2NUM(objspace->heap.used));

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

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