-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add breaking change version DAC API (ISOSDacInterface9 interface) #39567
Conversation
GetBreakingChangeVersion(int* version) Used in SOS to check if any of the runtime data structures it depends on has changed. Issue: dotnet#27309
Tagging subscribers to this area: @tommcdon |
Are you doing any breaking changes together with this? I would love to delete https://github.com/dotnet/runtime/search?q=TlsIdx_ThreadType that I had to keep to avoid breaking SOS. |
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.
LGTM
This is for future breaking changes in the runtime that affect SOS. I’m not planning any in 5.0. As far as TlsIdx_ThreadType are you asking if could add another method on a DAC interface to return the ThreadType for a managed thread?
|
I don't know if @mikem8361 had any breaking changes on deck? My hope would be that we wouldn't take any breaking changes immediately because most of our customers would still be using old versions of SOS that don't have a check for the version number. We don't have great usage telemetry, but we do have NuGet download numbers and likely some windbg metrics to give us a clue how quickly new SOS versions are being adopted. |
@jkotas, I'm not sure how to write the DAC API to get the ThreadType since it is in thread_local variable (t_ThreadType). Maybe it is simple but I haven't seem another example in existing DAC code. |
Hello @mikem8361! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
DI has the code to do that ( |
…tnet#39567) GetBreakingChangeVersion(int* version) Used in SOS to check if any of the runtime data structures it depends on has changed. Issue: dotnet#27309
GetBreakingChangeVersion(int* version)
Used in SOS to check if any of the runtime data structures it depends on has changed.
Issue: #27309