Skip to content
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

Disallowing using COMPlus_ has the prefix for environment variables. #3815

Closed
wants to merge 11 commits into from

Conversation

mrsharm
Copy link
Member

@mrsharm mrsharm commented Jan 24, 2024

Disallowing using COMPlus_ has the prefix for environment variables and therefore, this PR entails:

  1. Updating all instances in the configurations.
  2. Adding checks that throw an exception in case COMPlus env vars are used.
  3. Updated readme.

@@ -2,12 +2,12 @@ runs:
baseline:
corerun: C:\CoreRuns\Empty\
environment_variables:
COMPlus_GCServer: 1
DOTNET_GCServer: 1
Copy link
Member

@Maoni0 Maoni0 Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this is gcServer instead of GCServer

Maoni0
Maoni0 previously approved these changes Jan 30, 2024
Copy link
Member

@Maoni0 Maoni0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

@mangod9
Copy link
Member

mangod9 commented Jan 31, 2024

what is the motivation for this change? Just to keep things consistent?

@mrsharm
Copy link
Member Author

mrsharm commented Jan 31, 2024

what is the motivation for this change? Just to keep things consistent?

NativeAOT doesn't allow for COMPlus variables and we didn't want to add additional logic in the infra to differentiate. considering our testing is now .NET 6 and onwards, we decided to exclusively make use of DOTNET_*.

@mangod9
Copy link
Member

mangod9 commented Jan 31, 2024

makes sense

Copy link
Member Author

@mrsharm mrsharm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed all instances of GCServer -> gcServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants