We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba40192 commit c86c19fCopy full SHA for c86c19f
src/coreclr/gc/gc.cpp
@@ -22628,6 +22628,8 @@ void gc_heap::garbage_collect_pm_full_gc()
22628
22629
void gc_heap::garbage_collect (int n)
22630
{
22631
+ gc_pause_mode saved_settings_pause_mode = settings.pause_mode;
22632
+
22633
//reset the number of alloc contexts
22634
alloc_contexts_used = 0;
22635
@@ -23033,7 +23035,7 @@ void gc_heap::garbage_collect (int n)
23033
23035
#endif //MULTIPLE_HEAPS
23034
23036
23037
done:
- if (settings.pause_mode == pause_no_gc)
23038
+ if (saved_settings_pause_mode == pause_no_gc)
23039
allocate_for_no_gc_after_gc();
23040
}
23041
0 commit comments