Skip to content

Conversation

majocha
Copy link
Contributor

@majocha majocha commented Sep 5, 2025

Description

I'm noticing some CI hangs on .Net Framework tests after #18875

The cause may or may not be thread pool starvation: old .Net uses different algorithms and does not ramp up threads fast enough.

Specifically after #18875 the type subsumption cache is tied to TcGlobals, which means more instances instead of one per process singleton. Unfortunately, in tests it means thousand started in quick succession. So, the queued eviction for each one eats some threads, quickly.

So, if the problem persists, this should be a fix.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2025

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@majocha majocha closed this Sep 5, 2025
@majocha majocha reopened this Sep 5, 2025
@majocha majocha marked this pull request as ready for review September 9, 2025 18:53
@majocha majocha requested a review from a team as a code owner September 9, 2025 18:53
@majocha
Copy link
Contributor Author

majocha commented Sep 9, 2025

I think this is needed after all.

@T-Gro T-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Sep 22, 2025
@majocha majocha closed this Sep 23, 2025
@majocha majocha reopened this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants