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

Fix using DependencyGraphViewer with AOT compilers #76357

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Sep 29, 2022

The readonly was added in #74825. MarkStrategy can have mutable state that was getting lost because Roslyn considers it necessary to put _marker into a temporary before calling instance methods on it.

This resulted in DependencyGraphViewer hanging after seeing tens of thousands of new graphs being added.

Cc @dotnet/ilc-contrib

The `readonly` addition was one of the 3600 diffs in dotnet#74825. `MarkStrategy` can have mutable state that was getting lost because Roslyn considers it valid to put `_marker` into a temporary before calling instance methods on it.

This resulted in DependencyGraphViewer hanging after seeing tens of thousands of new graphs being added.
@jkotas
Copy link
Member

jkotas commented Sep 29, 2022

Opened dotnet/arcade#11056 on the infrastructure failure

@jkotas jkotas merged commit 561b097 into dotnet:main Sep 29, 2022
@MichalStrehovsky MichalStrehovsky deleted the fixdepviewer branch September 29, 2022 21:11
@ghost ghost locked as resolved and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants