Skip to content
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

Remove ThreadNative_GetProcessDefaultStackSize #102003

Merged
merged 2 commits into from
May 8, 2024

Conversation

elinor-fung
Copy link
Member

ThreadNative_GetProcessDefaultStackSize / Thread::GetProcessDefaultStackSize are no longer used.

Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

EX_TRY
{
PEDecoder pe(hInst);
pe.GetEXEStackSizes(&ExeSizeOfStackReserve, &ExeSizeOfStackCommit);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can delete PEDecoder::GetEXEStackSize and PEDecoder::CheckWillCreateGuardPage. CheckWillCreateGuardPage made sense in .NET Framework when the .exe was used to launch the process, it does not make sense in .NET Core.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas jkotas merged commit d01ebfe into dotnet:main May 8, 2024
86 of 89 checks passed
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
* Remove ThreadNative_GetProcessDefaultStackSize

* Remove PEDecoder::CheckWillCreateGuardPage
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2024
@elinor-fung elinor-fung deleted the unused-qcall branch July 11, 2024 00:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants