зеркало из https://github.com/github/ruby.git
Revert "Skip repeated scan of object during compaction"
This seems to be breaking the build for some reason.
This command can reproduce it:
`make yes-test-all TESTS=--repeat-count=20`
This reverts commit 88bb1a672c
.
This commit is contained in:
Родитель
9195310168
Коммит
a9d773a288
2
gc.c
2
gc.c
|
@ -4484,7 +4484,7 @@ try_move(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_page,
|
|||
objspace->rcompactor.total_moved++;
|
||||
gc_move(objspace, (VALUE)p, dest);
|
||||
gc_pin(objspace, (VALUE)p);
|
||||
heap->compact_cursor_index = i + 1;
|
||||
heap->compact_cursor_index = i;
|
||||
if (from_freelist) {
|
||||
FL_SET((VALUE)p, FL_FROM_FREELIST);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче