-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix reserving executable memory as per allocation type in ClrVirtualAllocWithinRange() #83819
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.
Great finding. It seems we have never discovered that as this means that all the preallocated memory from the executable allocator must be depleted before we hit this code path.
…llocWithinRange() Fixes dotnet#83818
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.
LGTM, thank you!
@janvorli Thank you! Would it be possible to backport this to 7.0? |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/4530309491 |
@k15tfu I've created a porting PR and waiting for approval. |
Fixes #83818