<GCCpuGroup> Element

Specifies whether garbage collection supports multiple CPU groups.




Attributes and Elements

The following sections describe attributes, child elements, and parent elements.


Attribute Description
enabled Required attribute.

Specifies whether garbage collection supports multiple CPU groups.

enabled Attribute

Value Description
false Garbage collection does not support multiple CPU groups. This is the default.
true Garbage collection supports multiple CPU groups, if server garbage collection is enabled.

Child Elements


Parent Elements

Element Description
configuration The root element in every configuration file used by the common language runtime and .NET Framework applications.
runtime Contains information about assembly binding and garbage collection.


When a computer has multiple CPU groups and server garbage collection is enabled (see the <gcServer> element), enabling this element extends garbage collection across all CPU groups and takes all cores into account when creating and balancing heaps.


This element applies only to garbage collection threads. To enable the runtime to distribute user threads across all CPU groups, you must also enable the <Thread_UseAllCpuGroups> element.


The following example shows how to enable garbage collection for multiple CPU groups.

      <GCCpuGroup enabled="true"/>
      <gcServer enabled="true"/>

See also