Bug #11763 ยป ruby-changes.patch
gc.c | ||
---|---|---|
mark_stack_t *mstack = &objspace->mark_stack;
|
||
VALUE obj;
|
||
#if GC_ENABLE_INCREMENTAL_MARK
|
||
size_t marked_slots_at_the_beggining = objspace->marked_slots;
|
||
size_t marked_slots_at_the_beginning = objspace->marked_slots;
|
||
size_t popped_count = 0;
|
||
#endif
|
||
... | ... | |
CLEAR_IN_BITMAP(GET_HEAP_MARKING_BITS(obj), obj);
|
||
popped_count++;
|
||
if (popped_count + (objspace->marked_slots - marked_slots_at_the_beggining) > count) {
|
||
if (popped_count + (objspace->marked_slots - marked_slots_at_the_beginning) > count) {
|
||
break;
|
||
}
|
||
}
|