Skip to content

Commit c264a92

Browse files
authored
Add new JSON options for GC (#19762)
* add new json options
1 parent 1e4ce91 commit c264a92

File tree

5 files changed

+85
-43
lines changed

5 files changed

+85
-43
lines changed

docs/core/project-sdk/msbuild-props.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You can configure some run-time behaviors by specifying MSBuild properties in th
176176

177177
### ConcurrentGarbageCollection
178178

179-
The `ConcurrentGarbageCollection` property configures whether [background (concurrent) garbage collection](../../standard/garbage-collection/background-gc.md) is enabled. Set the value to `false` to disable background garbage collection. For more information, see [System.GC.Concurrent/COMPlus_gcConcurrent](../run-time-config/garbage-collector.md#systemgcconcurrentcomplus_gcconcurrent).
179+
The `ConcurrentGarbageCollection` property configures whether [background (concurrent) garbage collection](../../standard/garbage-collection/background-gc.md) is enabled. Set the value to `false` to disable background garbage collection. For more information, see [Background GC](../run-time-config/garbage-collector.md#background-gc).
180180

181181
```xml
182182
<PropertyGroup>
@@ -196,7 +196,7 @@ The `InvariantGlobalization` property configures whether the app runs in *global
196196

197197
### RetainVMGarbageCollection
198198

199-
The `RetainVMGarbageCollection` property configures the garbage collector to put deleted memory segments on a standby list for future use or release them. Setting the value to `true` tells the garbage collector to put the segments on a standby list. For more information, see [System.GC.RetainVM/COMPlus_GCRetainVM](../run-time-config/garbage-collector.md#systemgcretainvmcomplus_gcretainvm).
199+
The `RetainVMGarbageCollection` property configures the garbage collector to put deleted memory segments on a standby list for future use or release them. Setting the value to `true` tells the garbage collector to put the segments on a standby list. For more information, see [Retain VM](../run-time-config/garbage-collector.md#retain-vm).
200200

201201
```xml
202202
<PropertyGroup>
@@ -206,7 +206,7 @@ The `RetainVMGarbageCollection` property configures the garbage collector to put
206206

207207
### ServerGarbageCollection
208208

209-
The `ServerGarbageCollection` property configures whether the application uses [workstation garbage collection or server garbage collection](../../standard/garbage-collection/workstation-server-gc.md). Set the value to `true` to use server garbage collection. For more information, see [System.GC.Server/COMPlus_gcServer](../run-time-config/garbage-collector.md#systemgcservercomplus_gcserver).
209+
The `ServerGarbageCollection` property configures whether the application uses [workstation garbage collection or server garbage collection](../../standard/garbage-collection/workstation-server-gc.md). Set the value to `true` to use server garbage collection. For more information, see [Workstation vs. server](../run-time-config/garbage-collector.md#workstation-vs-server).
210210

211211
```xml
212212
<PropertyGroup>

0 commit comments

Comments
 (0)