Skip to content

Avoid unnecessary locking via MethodImplOptions.Synchronized #2225

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

Merged
merged 2 commits into from
Sep 24, 2019

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Sep 23, 2019

SoftLimitMRUCache, SimpleMRUCache and StatisticsImpl use inside dedicated lock object so MethodImplOptions.Synchronized is unnecessary and were removed.

@bahusoid bahusoid changed the title Avoid unnecessary locking in SoftLimitMRUCache Avoid unnecessary locking via MethodImplOptions.Synchronized Sep 23, 2019
@hazzik hazzik added this to the 5.3 milestone Sep 24, 2019
@hazzik hazzik merged commit 8a8c3f2 into nhibernate:master Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants