Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

  • Track whether a field is accessed outside preinitialized static initializers
  • If it's not accessed, emit it as zero-initialized

Draft for rt-sz measurements. Not clear if this will have savings since RyuJIT is already pretty good at inlining the values of fields, which means we often eliminate entire static bases already.

* Track whether a field is accessed outside preinitialized static initializers
* If it's not accessed, emit it as zero-initialized
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky
Copy link
Member Author

rt-sz says not worth it!

@MichalStrehovsky MichalStrehovsky deleted the unreadfield branch August 28, 2025 13:15
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant