Remove internal JIT and GC stress environment variables from public documentation #49102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #49083
Summary
This PR removes documentation for JIT and GC stress-related environment variables from the user-facing .NET environment variables documentation, as these are internal features used exclusively for dotnet/runtime testing and are not intended for public consumption.
Changes
Removed the entire
DOTNET_Jit*andDOTNET_GC*section fromdocs/core/tools/dotnet-environment-variables.md, including:Environment variables removed from documentation:
DOTNET_JitStressDOTNET_JitStressModeNamesOnlyDOTNET_GCStressDOTNET_JitNoMemoryBarriersSections removed:
Rationale
As noted by @jkotas, these environment variables are internal testing features for the dotnet/runtime repository and should only be documented there. Including them in user-facing documentation can cause confusion, as they are not meant to be used by application developers or in production scenarios.
The appropriate documentation for these features should remain in the dotnet/runtime repository for use by runtime developers and testers.
Verification
Original prompt
Fixes #49083
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews