* 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:
parent
ce71cfaa42
commit
71990d0ed1
@ -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>
|
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
|
* gc.c: pack boolean values into rb_objspace_t::flags with bit fields
|
||||||
|
1
gc.c
1
gc.c
@ -3309,7 +3309,6 @@ gc_sweep_rest(rb_objspace_t *objspace)
|
|||||||
rb_heap_t *heap = heap_eden; /* lazy sweep only for eden */
|
rb_heap_t *heap = heap_eden; /* lazy sweep only for eden */
|
||||||
|
|
||||||
if (is_lazy_sweeping(heap)) {
|
if (is_lazy_sweeping(heap)) {
|
||||||
during_gc++;
|
|
||||||
while (is_lazy_sweeping(heap)) {
|
while (is_lazy_sweeping(heap)) {
|
||||||
gc_sweep_step(objspace, heap);
|
gc_sweep_step(objspace, heap);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user