Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[release/9.0] Fix corner-case accounting bug in new codeheap allocation #107514

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 8, 2024

Backport of #107492 to release/9.0

/cc @jkotas

Customer Impact

  • Customer reported
  • Found internally

Reported by internal Microsoft team. The bug caused JITing of large (autogenerated) methods with native code of certain size to fail with bogus out of memory exception.

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

The customer repro passes with the fix.

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

The size of internal CodeHeap structures was not included in
codeheap memory reservation. It caused false OOM exception to
be thrown when JITed method code size was near 64kB multiple
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. we can merge when ready

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Sep 9, 2024
@jkotas jkotas merged commit d30807e into release/9.0 Sep 9, 2024
91 of 96 checks passed
@jkotas jkotas deleted the backport/pr-107492-to-release/9.0 branch September 9, 2024 23:11
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants