mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 18:20:26 +09:00
Turn off USE_REGIONS for sunos and illumos (#104301)
This commit is contained in:
parent
a19fc08e6c
commit
c9f7f954d4
1 changed files with 4 additions and 1 deletions
|
@ -141,7 +141,10 @@ inline void FATAL_GC_ERROR()
|
|||
// This means any empty regions can be freely used for any generation. For
|
||||
// Server GC we will balance regions between heaps.
|
||||
// For now disable regions for standalone GC and macOS builds
|
||||
#if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__APPLE__)
|
||||
// For SunOS or illumos this is temporary, until we can add MAP_PRIVATE
|
||||
// to the mmap() calls in unix/gcenv.unix.cpp More details here:
|
||||
// https://github.com/dotnet/runtime/issues/104211
|
||||
#if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__APPLE__) && !defined(__sun)
|
||||
#define USE_REGIONS
|
||||
#endif //HOST_64BIT && BUILD_AS_STANDALONE && !__APPLE__
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue