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

Remove LazyInitializer usage from corelib #44409

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Nov 9, 2020

It's fine for higher layers, but in corelib we don't want to forcibly prevent LazyInitializer from being trimmed nor pay the overheads of additional cached delegates.

cc: @jkotas

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@stephentoub stephentoub force-pushed the lazyinit branch 2 times, most recently from a98ef10 to f51f5aa Compare November 9, 2020 15:12
@jkotas jkotas added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 9, 2020
@stephentoub stephentoub force-pushed the lazyinit branch 2 times, most recently from fe54006 to 5d706e5 Compare November 11, 2020 02:50
@stephentoub stephentoub added this to the 6.0.0 milestone Nov 11, 2020
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

LGTM

It's fine for higher layers, but in corelib we don't want to forcibly prevent LazyInitializer from being trimmed nor pay the overheads of additional cached delegates.
@stephentoub stephentoub merged commit 731dee4 into dotnet:master Nov 12, 2020
@stephentoub stephentoub deleted the lazyinit branch November 12, 2020 14:34
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Threading linkable-framework Issues associated with delivering a linker friendly framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants