Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Merge changes from TFS - #1675

Merged
jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Aug 19, 2016
Merged

jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

…singRuntimeArtifactException

The issue here is that for reflection access to fields on types which are statically generated, but not directly present in the field mapping tables, we behave incorrectly
- USG logic should work for all instantiations, but it was disabled for non-dynamic types
- When USG logic was used for a pre-existing instantiations to access a thread static field we need to create a field access cookie instead of just using the offset
- Also exposed a memory leak in the dictionary generation path where we would allocate a dictionary cell target each time a query was asked instead of returning the previously allocated one
- New test cases to cover the problematic behavior so we don't regress in the future

[tfs-changeset: 1623299]
@jkotas
jkotas merged commit f0afaed into dotnet:nmirror Aug 19, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch August 19, 2016 19:03
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.

4 participants