* 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
This commit is contained in:
parent
8a81b54a2b
commit
b01c4ddfce
@ -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>
|
Tue May 28 02:44:23 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c (garbage_collect_body): fix GC_ENABLE_LAZY_SWEEP condition.
|
* gc.c (garbage_collect_body): fix GC_ENABLE_LAZY_SWEEP condition.
|
||||||
|
2
gc.c
2
gc.c
@ -4051,8 +4051,6 @@ gc_stat(int argc, VALUE *argv, VALUE self)
|
|||||||
hash = rb_hash_new();
|
hash = rb_hash_new();
|
||||||
}
|
}
|
||||||
|
|
||||||
rest_sweep(objspace);
|
|
||||||
|
|
||||||
rb_hash_aset(hash, sym_count, SIZET2NUM(objspace->count));
|
rb_hash_aset(hash, sym_count, SIZET2NUM(objspace->count));
|
||||||
/* implementation dependent counters */
|
/* implementation dependent counters */
|
||||||
rb_hash_aset(hash, sym_heap_used, SIZET2NUM(objspace->heap.used));
|
rb_hash_aset(hash, sym_heap_used, SIZET2NUM(objspace->heap.used));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user