Skip to content

[cDAC] Support ISOSDacInterface16 #116938

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

Merged
merged 1 commit into from
Jun 24, 2025
Merged

Conversation

max-charlamb
Copy link
Contributor

ISOSDacInterface16 was recently added. Adds support for the cDAC shim for the new method. This was previously causing failures when SOS attempted to instantiate the cDAC.

@Copilot Copilot AI review requested due to automatic review settings June 23, 2025 22:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the new ISOSDacInterface16 in the cDAC shim to prevent instantiation failures by SOS. Key changes include:

  • Updating SOSDacImpl to implement ISOSDacInterface16 by adding it to the interface list, declaring a new private field (_legacyImpl16), and initializing it in the constructor.
  • Implementing the GetGCDynamicAdaptationMode method in SOSDacImpl.
  • Adding the ISOSDacInterface16 definition in the corresponding interface file.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/native/managed/cdac/mscordaccore_universal/Legacy/SOSDacImpl.cs Added ISOSDacInterface16 to the implemented interfaces and created the corresponding private field and method implementation.
src/native/managed/cdac/mscordaccore_universal/Legacy/ISOSDacInterface.cs Added the interface definition for ISOSDacInterface16.

Copy link
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@max-charlamb
Copy link
Contributor Author

/azp run runtime-diagnostics

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@hoyosjs hoyosjs merged commit 0b22cd4 into dotnet:main Jun 24, 2025
47 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants