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

Pool the underlying list and dictionary in scopes. #50463

Merged
merged 5 commits into from
Apr 2, 2021

Commits on Mar 31, 2021

  1. Pool the underlying list and dictionary in scopes.

    - This change pools a set of scopes assuming they are short lived.
    - One breaking change is that after disposal, pooled scopes will throw if services are accessed afterwards on the scope.
    davidfowl committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    0c4bea0 View commit details
    Browse the repository at this point in the history
  2. Fixed race

    davidfowl committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    6569493 View commit details
    Browse the repository at this point in the history
  3. More changes

    - Allocate the lock. Scoped services can be resolved without a scope when the scope validation flag is off.
    - Assert the correct lock
    - Modified test to throw after dispose
    davidfowl committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    ec75093 View commit details
    Browse the repository at this point in the history
  4. PR feedback

    davidfowl committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    8ecde74 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. PR feedback

    davidfowl committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    aaf95cf View commit details
    Browse the repository at this point in the history