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

Commits on Mar 13, 2024

  1. Adjust allocation behavior for type system to attempt to reduce TLB c…

    …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
    davidwrighton committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    3ac293c View commit details
    Browse the repository at this point in the history
  2. Remove unneeded printf

    davidwrighton committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    1be5fef View commit details
    Browse the repository at this point in the history