Skip to content

[cDAC] Follow-up items from PR #126713 (typed field extension methods) #126749

Closed

Description

@max-charlamb

Follow-up items from #126713

This issue tracks outstanding items identified in the review comments on #126713 ([cDAC] Add typed field extension methods for Data classes).


1. Typed field extension methods for globals

Requested by @rcj1 in this comment: extend the new typed field helpers to cover globals (currently only per-object fields are covered).


2. Incomplete conversion — several Data classes still use old target.Read pattern

The following files were not converted to the new ReadField/ReadPointerField extension methods:

  • Debugger.cs
  • CardTableInfo.cs
  • CodeHeap.cs
  • HostCodeHeap.cs
  • RegionFreeList.cs
  • AuxiliarySymbolInfo.cs
  • InteropSyncBlockInfo.cs
  • NativeCodeVersionNode.cs — OptimizationTier (line 24) still uses target.Read<uint>(address + ...)
  • GCHeapSVR.cs — FreeableSohSegment / FreeableUohSegment use ContainsKey + ReadPointer instead of ReadPointerFieldOrNull

cc @max-charlamb @rcj1

Activity

  1. added
    untriaged
    on Apr 10, 2026
  2. added
    enhancement
    and removed
    untriaged
    on Apr 10, 2026
  3. dotnet-policy-service commented on Apr 10, 2026

    @dotnet-policy-service
    Contributor

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

  4. self-assigned this
    on Jul 14, 2026
  5. added a commit that references this issue on Jul 16, 2026
    9e49d49
  6. locked and limited conversation to collaborators on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Diagnostics-cdacenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions