File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,10 @@ inline void FATAL_GC_ERROR()
141
141
// This means any empty regions can be freely used for any generation. For
142
142
// Server GC we will balance regions between heaps.
143
143
// For now disable regions for standalone GC and macOS builds
144
- #if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__APPLE__)
144
+ // For SunOS or illumos this is temporary, until we can add MAP_PRIVATE
145
+ // to the mmap() calls in unix/gcenv.unix.cpp More details here:
146
+ // https://github.com/dotnet/runtime/issues/104211
147
+ #if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__APPLE__) && !defined(__sun)
145
148
#define USE_REGIONS
146
149
#endif // HOST_64BIT && BUILD_AS_STANDALONE && !__APPLE__
147
150
You can’t perform that action at this time.
0 commit comments