Skip to content

Commit 5621da6

Browse files
authored
Properly set BACKGROUND_GC variant for the DAC (#119123)
* This setting was previously inverted from the intended behavior
1 parent 19cf334 commit 5621da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/gc/gc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53680,9 +53680,9 @@ void PopulateDacVars(GcDacVars *gcDacVars)
5368053680
gcDacVars->global_free_huge_regions = reinterpret_cast<dac_region_free_list**>(&gc_heap::global_free_huge_regions);
5368153681
}
5368253682
#endif //USE_REGIONS
53683-
#ifndef BACKGROUND_GC
53683+
#ifdef BACKGROUND_GC
5368453684
g_build_variant |= build_variant_background_gc;
53685-
#endif //!BACKGROUND_GC
53685+
#endif //BACKGROUND_GC
5368653686
#ifdef DYNAMIC_HEAP_COUNT
5368753687
g_build_variant |= build_variant_dynamic_heap_count;
5368853688
#endif //DYNAMIC_HEAP_COUNT

0 commit comments

Comments
 (0)