Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 233a763

Browse files
authored
Reset current_no_gc_region_info after leaving no gc region implicitly (#28265)
1 parent fcc38b7 commit 233a763

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gc/gc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16255,6 +16255,8 @@ BOOL gc_heap::should_proceed_with_gc()
1625516255
// The no_gc mode was already in progress yet we triggered another GC,
1625616256
// this effectively exits the no_gc mode.
1625716257
restore_data_for_no_gc();
16258+
16259+
memset (&current_no_gc_region_info, 0, sizeof (current_no_gc_region_info));
1625816260
}
1625916261
else
1626016262
return should_proceed_for_no_gc();

0 commit comments

Comments
 (0)