Skip to content

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
@ghost ghost added the area-VM-coreclr label Sep 8, 2024
@teo-tsirpanis teo-tsirpanis added this to the 9.0.0 milestone Sep 8, 2024
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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