Skip to content

Migrate FindRootsOlderGeneration script to new SOS harness - #6141

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/migrate-findroots-script
Oct 27, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/migrate-findroots-script

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • Retire FindRootsOlderGeneration.script and move its regression coverage into the modern SOS harness.
  • Verify the older LOH array roots a gen0 object, with exactly one unique root, under workstation and server GC.
  • Configure live server-GC targets using the same environment settings as dump capture.
  • Cover CDB on .NET 10/11 and LLDB on .NET 11, selecting the main managed thread after GC notifications. Skip .NET 10 LLDB because its notification setup requires unsupported remote allocation; Adding SetGcNotification API and related runtime simplification runtime#120083 removed that requirement in .NET 11.

Validation

  • Targeted Windows and isolated WSL Linux SOS.Tests builds succeeded.
  • CDB: all four .NET 10/11 workstation/server GC cases passed.
  • WSL LLDB: both .NET 11 workstation/server GC cases passed; both .NET 10 cases explicitly skipped with the linked runtime limitation.
  • Existing live DumpGCData pinning coverage passed during migration.

@max-charlamb
max-charlamb requested a review from a team as a code owner October 23, 2026 16:55
@max-charlamb
max-charlamb force-pushed the dev/max-charlamb/migrate-findroots-script branch from 735f24b to 677899d Compare October 23, 2026 17:16
Retire the legacy FindRootsOlderGeneration script and assert the older LOH array roots a young object under workstation and server GC. Enable live server-GC targets and cover CDB on .NET 10+ and LLDB on .NET 11+, with a linked skip for the .NET 10 LLDB notification allocation limitation.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6155adde-0566-4a88-8914-7e11146c2997
@max-charlamb
max-charlamb force-pushed the dev/max-charlamb/migrate-findroots-script branch from 677899d to 29b8a8b Compare October 27, 2026 14:00
@max-charlamb max-charlamb changed the title Migrate FindRoots regression to the SOS harness Migrate FindRootsOlderGeneration script to new SOS harness Oct 27, 2026
@max-charlamb
max-charlamb merged commit 1aa8f0b into dotnet:main Oct 27, 2026
25 checks passed
@max-charlamb
max-charlamb deleted the dev/max-charlamb/migrate-findroots-script branch October 27, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants