Skip to content

Fix code heap reservation size - #59883

Merged
janvorli merged 1 commit into
dotnet:mainfrom
janvorli:fix-code-heap-reserve-size
Oct 4, 2021
Merged

Fix code heap reservation size#59883
janvorli merged 1 commit into
dotnet:mainfrom
janvorli:fix-code-heap-reserve-size

Conversation

@janvorli

Copy link
Copy Markdown
Member

When I've moved the heap metadata out of the actual code heaps some time
ago, I've forgotten to account for the personality routine slot
allocated at the beginning of the heaps. This was exposed by an assert when
executing under the JIT stress mode 2.

This change fixes it by adding accounting for those.

Close#59794

When I've moved the heap metadata out of the actual code heaps some time
ago, I've forgotten to account for the personality routine slot
allocated at the beginning of the heaps. This was exposed by an assert when
executing under the JIT stress mode 2.
This change fixes it by adding accounting for those.
Closedotnet#59794
@janvorlijanvorli added this to the 7.0.0 milestone Oct 1, 2021
@janvorli
janvorli requested a review from jkotasOctober 1, 2021 22:23
@janvorlijanvorli self-assigned this Oct 1, 2021
@janvorli

Copy link
Copy Markdown
MemberAuthor

cc: @BruceForstall

@jkotas

Copy link
Copy Markdown
Member

Do we need to port this to 6.0?

@BruceForstall

Copy link
Copy Markdown
Contributor

Thanks for the quick fix!

Do we need to port this to 6.0?

IMO, seems like we should. At least the fix is simple.

@janvorli
janvorli merged commit 33204f6 into dotnet:mainOct 4, 2021
@janvorli

Copy link
Copy Markdown
MemberAuthor

/backport to release/6.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1302636674

@ghostghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for freeto 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.

Test failure JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b399444/b399444b/b399444b.sh

3 participants

@janvorli@jkotas@BruceForstall