Skip to content

Ensure frameworkTcImportsCache mutations are threadsafe - #17795

Merged
psfinaki merged 5 commits into
dotnet:mainfrom
majocha:frameworkTcImportsCache-concurrency
Sep 26, 2024
Merged

Ensure frameworkTcImportsCache mutations are threadsafe#17795
psfinaki merged 5 commits into
dotnet:mainfrom
majocha:frameworkTcImportsCache-concurrency

Conversation

@majocha

Copy link
Copy Markdown
Contributor

When running tests in parallel there happened some intermittent internal errors, all of them variations of NRE.
I tracked it down to data corruption because of concurrent mutation of frameworkTcImportsCache.

@majocha
majocha requested a review from a team as a code ownerSeptember 26, 2024 10:40
@github-actions

github-actionsBot commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

❗ Release notes required


✅ Found changes and release notes in following paths:

Change pathRelease notes pathDescription
src/Compilerdocs/release-notes/.FSharp.Compiler.Service/9.0.200.md

@majochamajocha closed this Sep 26, 2024
@majochamajocha reopened this Sep 26, 2024
@majocha
majocha marked this pull request as draft September 26, 2024 15:12
@majocha
majocha marked this pull request as ready for review September 26, 2024 16:50
@majochamajocha mentioned this pull request Sep 26, 2024
8 tasks

@psfinakipsfinaki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, that's definitely for good.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants

@majocha@psfinaki@T-Gro