Skip to content

Commit

Permalink
[build] stop setting $DOTNET_gcServer (#8085)
Browse files Browse the repository at this point in the history
Context: https://github.com/dotnet/linker/issues/3012
Context: dotnet/runtime#86807

In 34986b9, we exported `DOTNET_gcServer=0` so that the Server GC is disabled, in an
effort to prevent an `AccessViolationException`.

It appears that this might be *fixed* in .NET 8. Let's remove the workaround, so we
can either close the issue or get further investigation on the issue.
  • Loading branch information
jonathanpeppers committed Jun 12, 2023
1 parent 0968abf commit 622abe1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build-tools/automation/yaml-templates/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ variables:
# Workaround: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1585820
- name: _WriteTelemetryProperties
value: false
# Workaround: https://github.com/dotnet/linker/issues/3012
- name: DOTNET_gcServer
value: 0
- name: IsRelOrTargetingRel
value: $[or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['System.PullRequest.TargetBranch'], 'release/'))]
- name: DotNetNUnitCategories
Expand Down

0 comments on commit 622abe1

Please sign in to comment.