-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Increase CoreCLR dump information #49790
Conversation
This sets environment variables that will help make the dumps for a CLR bug more actionable by the runtime team. dotnet/runtime#45557
@tmat, @dotnet/roslyn-infrastructure PTAL This is to help the runtime team track down the cause of dotnet/runtime#45557 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approval
#if NETCOREAPP | ||
// These environment variables will generate better dump information for the runtime team | ||
// that will help them track down a GC issue that is impacting ConcurrentDictionary | ||
// https://github.com/dotnet/runtime/issues/45557 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for linking to the bug!
|
||
void MaybeAddStressEnvironmentVariables() | ||
{ | ||
#if NETCOREAPP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just occurred to me that RunTests.dll itself always defines this symbol even if we are running net472 tests. May be more appropriate to check for the absence of "net472"
in Options.TargetFrameworks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! You're right I missed that. I will get that fixed up in a bit.
This sets environment variables that will help make the dumps for a CLR
bug more actionable by the runtime team.
dotnet/runtime#45557