Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ETW events when ALCs are created or disposed #75550

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

RikkiGibson
Copy link
Contributor

@RikkiGibson RikkiGibson commented Oct 17, 2024

Trying to get more data about increase in allocs from #75233.
@jaredpar @CyrusNajmabadi

Appears to be working when compiling Microsoft.CodeAnalysis thru PerfView. I am assuming that merely compiling does not actually go thru the teardown process, so the lack of Stop events is not a surprise.
image

@RikkiGibson RikkiGibson requested review from a team as code owners October 17, 2024 18:21
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 17, 2024
@RikkiGibson
Copy link
Contributor Author

I believe I am not causing the integration test failures, as different tests are failing in each attempt on different issues: once a lightbulb being unexpectedly dismissed, another an NRE in TestTraceListener.
https://dev.azure.com/dnceng-public/public/_build/results?buildId=846617&view=ms.vss-test-web.build-test-results-tab

@RikkiGibson RikkiGibson merged commit 545232a into dotnet:main Oct 17, 2024
25 of 28 checks passed
@RikkiGibson RikkiGibson deleted the alc-etw branch October 17, 2024 20:54
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Oct 17, 2024
@@ -40,6 +40,7 @@
<Compile Include="..\..\..\Compilers\Core\Portable\DiagnosticAnalyzer\DefaultAnalyzerAssemblyLoader.cs" Link="Diagnostics\CompilerShared\DefaultAnalyzerAssemblyLoader.cs" />
<Compile Include="..\..\..\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerAssemblyLoader.cs" Link="Diagnostics\CompilerShared\ShadowCopyAnalyzerAssemblyLoader.cs" />
<Compile Include="..\..\..\Compilers\Core\Portable\DiagnosticAnalyzer\IAnalyzerAssemblyResolver.cs" Link="Diagnostics\CompilerShared\IAnalyzerAssemblyResolver.cs" />
<Compile Include="..\..\..\Compilers\Core\Portable\CodeAnalysisEventSource.cs" Link="Diagnostics\CompilerShared\CodeAnalysisEventSource.cs" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I suspect that this source-include of the CodeAnalysisEventSource is causing regression https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2289777

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants