Skip to content

Commit e850bcb

Browse files
authored
[WIP] Enable regions again. (#64688)
* Enable regions again. * disable regions for MacOS for now. * disable for NativeAOT for now
1 parent 36a435c commit e850bcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/gc/gcpriv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ inline void FATAL_GC_ERROR()
5151
//
5252
// This means any empty regions can be freely used for any generation. For
5353
// Server GC we will balance regions between heaps.
54-
// For now disable regions outside of StandAlone GC builds
55-
#if defined (HOST_64BIT) && defined (BUILD_AS_STANDALONE)
54+
// For now disable regions for StandAlone GC, NativeAOT and MacOS builds
55+
#if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__APPLE__) && !defined(FEATURE_REDHAWK)
5656
#define USE_REGIONS
5757
#endif //HOST_64BIT && BUILD_AS_STANDALONE
5858

0 commit comments

Comments
 (0)