Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Handle more configs in GCToEEInterface - #25653

Closed
ghost wants to merge 1 commit into
masterfrom
unknown repository
Closed

ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jul 11, 2019

Copy link
Copy Markdown

Adds handling for the following configs:

  • "GCNoAffinitize" (from "System.GC.NoAffinitize")
  • "GCHeapAffinitizeMask" (from "System.GC.HeapAffinitizeMask")
  • "GCHeapCount" (from "System.GC.HeapCount")

These configs were already handled correctly in EEConfig::sync, so that
does not need to be changed. Just the access from GC needs to be fixed.

Previously the configs were correctly read,
but GC did not see those values.

Verified this change by debugging into
GCToEEInterface::GetBooleanConfigValue and
GCToEEInterface::GetIntConfigValue as well as their uses in
SVR::GCHeap::Initialize.

Adds handling for the following configs:
* "GCNoAffinitize" (from "System.GC.NoAffinitize")
* "GCHeapAffinitizeMask" (from "System.GC.HeapAffinitizeMask")
* "GCHeapCount" (from "System.GC.HeapCount")

These configs were already handled correctly in EEConfig::sync, so that
does not need to be changed. Just the access from GC needs to be fixed.

Previously the configs were correctly read,
but GC did not see those values.

Verified this change by debugging into
GCToEEInterface::GetBooleanConfigValue and
GCToEEInterface::GetIntConfigValue as well as their uses in
SVR::GCHeap::Initialize.
@ghost
ghost requested a review from Maoni0 July 11, 2019 20:48

@Maoni0 Maoni0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@ghost
ghost requested a review from MeiChin-Tsai July 11, 2019 21:02
@ghost ghost mentioned this pull request Jul 12, 2019
@MeiChin-Tsai

Copy link
Copy Markdown

I don't think that this make .NET Core 3.0 bar. Thanks.

@ghost

ghost commented Jul 26, 2019

Copy link
Copy Markdown
Author

This PR should be subsumed by #25469

@ghost ghost closed this Jul 26, 2019
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants