Draft
Bring managed cDAC process APIs in line with newer contract expectations#130998
Conversation
Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
Co-authored-by: rcj1 <77995559+rcj1@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot
AI
changed the title
[WIP] cDAC process API parity and module enumeration updates
Bring managed cDAC process APIs in line with newer contract expectations
Jul 17, 2026
Contributor
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The managed cDAC reader was missing process-side implementations for several
IXCLRDataProcessentry points that the newer contract surface expects. This change brings that path back in line so diagnostics scenarios can enumerate and resolve app domains, modules, and tasks through the managed reader without falling back to incomplete behavior.IXCLRDataProcessbehaviors.Customer Impact
Without this, cDAC consumers using the managed reader can fail to enumerate or resolve core runtime objects such as app domains, modules, and tasks, which breaks diagnostics and inspection scenarios that depend on these APIs.
Regression
This fixes a regression in the managed cDAC implementation path after the
IXCLRDataProcesssurface was expanded to include these behaviors.Testing
Covered by the managed cDAC unit test suite for
IXCLRDataProcess, including app-domain, module, task, address-type, and related behavior tests.Risk
Low. The change is localized to the managed cDAC
IXCLRDataProcessimplementation and is exercised by the existing cDAC unit tests.Package authoring no longer needed in .NET 9
IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.