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

Adjust allocation behavior for type system to attempt to reduce TLB c… #99709

Closed

Conversation

davidwrighton
Copy link
Member

…osts

  • Reduce allocation size of initial generic dictionary
  • Allocate MethodTables which are likely to be used for allocated objects on special LoaderHeap, to try and increase density
  • Adjust initial allocations sizes to something which is a realistic amount of initial program allocation

Add
DOTNET_MaxMethodsToContributeToGenericDictionary which defaults to 20 DOTNET_MethodsWhichContributeFullyToGenericDictionary which defaults to 10 to control generic dicitionary heuristic

and
DOTNET_UseHighFrequencyMethodTableHeap which controls whether or not we have use a separate heap for high frequency methodtables

…osts

- Reduce allocation size of initial generic dictionary
- Allocate MethodTables which are likely to be used for allocated objects on special LoaderHeap, to try and increase density
- Adjust initial allocations sizes to something which is a realistic amount of initial program allocation

Add
DOTNET_MaxMethodsToContributeToGenericDictionary which defaults to 20
DOTNET_MethodsWhichContributeFullyToGenericDictionary which defaults to 10
to control generic dicitionary heuristic

and
DOTNET_UseHighFrequencyMethodTableHeap which controls whether or not we have use a separate heap for high frequency methodtables
Copy link
Contributor

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

Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2024
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.

1 participant