Skip to content

Commit e02d7a4

Browse files
committed
Set restart_heaps to false after sweep thread wakeup
1 parent 5133050 commit e02d7a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gc/default/default.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4806,6 +4806,7 @@ gc_sweep_thread_func(void *ptr)
48064806
}
48074807

48084808
objspace->sweep_thread_sweep_requested = false;
4809+
objspace->background_sweep_restart_heaps = false;
48094810
objspace->sweep_thread_sweeping = true;
48104811

48114812
restart_heaps:

0 commit comments

Comments
 (0)