-
Notifications
You must be signed in to change notification settings - Fork 5k
[DRAFT] try enabling regions on Mac again #115251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request attempts to re-enable regions on Mac by modifying the preprocessor condition.
- Removed the APPLE exclusion from the condition for defining USE_REGIONS
- Adjusted the code responsible for enabling regions on 64-bit systems
@@ -144,7 +144,7 @@ inline void FATAL_GC_ERROR() | |||
// 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) | |||
#if defined (HOST_64BIT) && !defined (BUILD_AS_STANDALONE) && !defined(__sun) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The preprocessor condition no longer excludes APPLE, but the comment above still mentions APPLE. Please update the comment to accurately reflect that regions are now enabled on Mac.
Copilot uses AI. Check for mistakes.
Tagging subscribers to this area: @dotnet/gc |
It is ok to try and the CI may even pass if the run does not happen to generate crash dump along the way. We need a positive confirmation that enabling regions GC won't kill post-mortem diagnostic on mac. Have we done anything to resolve the problem with prohibitively large crash dumps on mac? |
the last time we looked we werent able to repro the large dumps locally. Believe @janvorli had tried it too, given lower priority we never investigated it completely. Hoping we get to root cause this time around. |
No description provided.