* gc.c (gc_sweep_rest): remove wrong modification of during_gc flag.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2014-09-09 03:07:46 +00:00
parent ce71cfaa42
commit 71990d0ed1
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Sep 9 12:06:03 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_sweep_rest): remove wrong modification of during_gc flag.
Tue Sep 9 11:39:41 2014 Koichi Sasada <ko1@atdot.net>
* gc.c: pack boolean values into rb_objspace_t::flags with bit fields

1
gc.c
View File

@ -3309,7 +3309,6 @@ gc_sweep_rest(rb_objspace_t *objspace)
rb_heap_t *heap = heap_eden; /* lazy sweep only for eden */
if (is_lazy_sweeping(heap)) {
during_gc++;
while (is_lazy_sweeping(heap)) {
gc_sweep_step(objspace, heap);
}