summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-27 17:57:08 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-27 17:57:08 +0000
commitb01c4ddfce5faa7e0bb982a41319c7e44141c5e3 (patch)
tree1f139317a7d0fe2bdc6cb2a59aff63c6352e7c8d /gc.c
parent8a81b54a2b9cf5349c882659fd3b2bc7995bc633 (diff)
* gc.c (gc_stat): remove wrong rest_sweep().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index e36b05dd65..6b52f82f3f 100644
--- a/gc.c
+++ b/gc.c
@@ -4051,8 +4051,6 @@ gc_stat(int argc, VALUE *argv, VALUE self)
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));