This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
Improve flexibility of gc static base computation - #1501
Merged
davidwrighton merged 2 commits intoJul 11, 2016
Merged
Conversation
davidwrighton
commented
Jul 11, 2016
Member
- Move extension point for computing HasGCStaticBase from an override of the method on FieldDesc, to a function on the TypeSystemContext
- Will allow runtime specific determination of rules for where static variables are stored
- Move extension point for computing HasGCStaticBase from an override of the method on FieldDesc, to a function on the TypeSystemContext - Will allow runtime specific determination of rules for where static variables are stored
Member
Author
|
@MichalStrehovsky PTAL |
|
|
||
| // Abstraction to allow different runtimes to have different policy about which fields are | ||
| // in the GC static region, and which are not | ||
| public virtual bool ComputeHasGCStaticsBase(FieldDesc field) |
Member
There was a problem hiding this comment.
Make this protected internal? Users outside of the type system assembly shouldn't care about this or see this in IntelliSense.
Member
|
LGTM otherwise. |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.