-
Notifications
You must be signed in to change notification settings - Fork 6k
Update .NET Framework GC config info #12959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There are some conflicts here @rpetrusha. Do you wanna take a look? |
@AaronRobinsonMSFT could you look at the environment variables around interop that @rpetrusha is documenting here? I suspect neither of these should be documented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|"Switch.System.Globalization.FormatJapaneseFirstYearAsANumber"|true | false|Determines whether the first year of a Japanese calendar era is formatted as "gannen" (`false`, the default) or as a number. For more information, see [Representing dates in calendars with multiple eras](../../standard/datetime/working-with-calendars.md#representing-dates-in-calendars-with-multiple-eras).| | ||
|"System.GC.Concurrent"|true | false|Determines whether background garbage collection is enabled (`true`, the default value) or disabled (`false`). For more information, see [Background workstation garbage collection](../../standard/garbage-collection/fundamentals.md#background-workstation-garbage-collection) and [Background server garbage collection](../../standard/garbage-collection/fundamentals.md#background-server-garbage-collection).| | ||
|"System.GC.RetainVM"|true | false|Determines whether segments that should be deleted are put on a standby list for future use (`true`) or are released back to the operating system (`false`, the default value).| | ||
|"System.GC.Server"|true | false|Determines whether the application uses server garbage collection (`true`) or workstation garbage collection (`false`, the default value). For more information, see [Configuring garbage collection](../../standard/garbage-collection/fundamentals.md#configuring-garbage-collection).| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these supposed to be an exhaustive list of what's supported in runtimeconfig.json in 3.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe @rpetrusha was trying to document all of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, then if you do a search for "System.GC" in eeconfig.cpp, everything you see there should be documented.
I started to look but had a question what the scope is; is this supposed to cover all that's supported in .net core 3.0? 'cause I see that there are only 3 System.GC configs in runtimeconfig.json. CC @Andy-MS. |
* fixes dotnet#9739 * add in ron's changes from pr dotnet#12959 * feedback from tom
* fixes #12783 * add in ron's change from pr #12959 * Update docs/standard/garbage-collection/fundamentals.md Co-Authored-By: Next Turn <45985406+NextTurn@users.noreply.github.com> * review feedback from maoni and bill * remove config section; add link to new doc; acrolinx * add links to specific config settings
This PR adds 3 GC-related .NET Framework runtime configuration settings.
Fixes #11146
(The .NET Core config options will be handled in a separate PR.)