Skip to content

Remove GarbageCollectionAdaptationMode defaulting from project system targets - #56570

Merged
eerhardt merged 2 commits into
mainfrom
eerhardt-patch-1
Oct 14, 2026
Merged

eerhardt merged 2 commits into
mainfrom
eerhardt-patch-1

Conversation

@eerhardt

@eerhardt eerhardt commented Oct 9, 2026

Copy link
Copy Markdown
Member

Removed default GarbageCollectionAdaptationMode settings for AOT'd server apps.

This has been the default for all ServerGC since .NET 9 - dotnet/runtime#103374

… targets

Removed default GarbageCollectionAdaptationMode settings for AOT'd server apps.

This has been the default for all ServerGC since .NET 9 - dotnet/runtime#103374
Copilot AI balanced review requested due to automatic review settings October 9, 2026 19:34
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 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 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The existing Web SDK publish integration test still expects the removed runtime knob and will fail.

1 open finding
What changed in this PR

Removes the Web SDK’s redundant Native AOT GC adaptation default now provided by the runtime.

Changes:

  • Removes explicit GarbageCollectionAdaptationMode=1 defaulting for AOT Server GC applications.
File Description
src/​WebSdk/​ProjectSystem/​Targets/​Microsoft.NET.Sdk.Web.ProjectSystem.targets Removes the obsolete GC adaptation property default.

🧠 Review effort: Balanced

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 070f89bd-5ab8-4f1a-9aef-2d9e738aee46
@eerhardt
eerhardt merged commit 0d06077 into main Oct 14, 2026
26 checks passed
@eerhardt
eerhardt deleted the eerhardt-patch-1 branch October 14, 2026 16:46
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 29, 2026
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.

4 participants