Skip to content

[DAC] Properly configure BACKGROUND_GC check for the DAC - #119123

Merged
max-charlamb merged 2 commits into
dotnet:mainfrom
max-charlamb:dac-background
Aug 28, 2025
Merged

max-charlamb merged 2 commits into
dotnet:mainfrom
max-charlamb:dac-background

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Aug 26, 2025 •

Copy link
Copy Markdown
Member

Found this while working on #119119

Diagnostics tests passed locally on the modified code

Copilot AI review requested due to automatic review settings August 26, 2025 23:22

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.

Pull Request Overview

This PR fixes a DAC (Data Access Component) configuration bug where the background GC build variant flag was being set incorrectly. The issue was that the code was setting the build_variant_background_gc flag when background GC was not enabled, rather than when it was enabled.

  • Corrects the conditional compilation directive from #ifndef BACKGROUND_GC to #ifdef BACKGROUND_GC
  • Updates the corresponding comment to match the corrected logic
Comments suppressed due to low confidence (1)

@max-charlamb max-charlamb changed the title [DAC] Properly configuration BACKGROUND_GC DAC check [DAC] Properly configure BACKGROUND_GC check for the DAC Aug 26, 2025
@max-charlamb
max-charlamb merged commit 5621da6 into dotnet:main Aug 28, 2025
@max-charlamb
max-charlamb deleted the dac-background branch August 28, 2025 00:58
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants