summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 31dd64074d..6705fbb5ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 28 02:56:15 2013 Koichi Sasada <ko1@atdot.net>
+
+ * gc.c (gc_stat): remove wrong rest_sweep().
+
Tue May 28 02:44:23 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (garbage_collect_body): fix GC_ENABLE_LAZY_SWEEP condition.
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));