-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove synchronization from Http2Connection.ExtendWindow #97878
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsThere is an opportunity for simplification:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
There is an opportunity for simplification:
_pendingWindowUpdate
is the only state theExtendWindow
method touches under the lock. There is no other code that reads or writes_pendingWindowUpdate
after the creation of the connection object. Originating fromProcessIncomingFramesAsync
, calls toExtendWindow
are sequential, and never expected to happen concurrently.