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

Allow concurrent evaluation BuildCheck processing #10959

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

rainersigwald
Copy link
Member

Fixes #10956 by moving to a thread-safe dictionary.

Fixes #10956 by moving to a thread-safe dictionary.
These locks shouldn't ever really contend, because evaluation is single-
threaded and the events should generally come in order for a single
project, so I suspect this is cheaper than switching it to a
ConcurrentHashSet.
Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Going forward we should make sure that this structure is only used on the logger thread

@rainersigwald rainersigwald merged commit 77312bc into main Nov 8, 2024
10 checks passed
@rainersigwald rainersigwald deleted the SimpleTaskParameters-race branch November 8, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test - ReportsSimpleTaskParameters
4 participants