Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Support reflection access to thread static fields #5137

Open
MichalStrehovsky opened this issue Dec 20, 2017 · 0 comments
Open

Support reflection access to thread static fields #5137

MichalStrehovsky opened this issue Dec 20, 2017 · 0 comments

Comments

@MichalStrehovsky
Copy link
Member

This tracks implementing emission and reading of data structures that support FieldInfo.GetValue/SetValue for thread static fields.

We might also have to do something about them in the type loader.

@MichalStrehovsky MichalStrehovsky added this to the Preview milestone Dec 20, 2017
MichalStrehovsky added a commit to MichalStrehovsky/corert that referenced this issue Jun 29, 2020
Reflection-accessing threadstatic fields didn't work.

I'm also deleting a bunch of .NET Native code that is not relevant to CoreRT.
The .NET Native approach to threadstatics (using TLS region) is Windows-specific
and not portable.

The type loader support is incomplete (the compiler side is ready but runtime side is
still going to fail with a MissingTemplateException). I got tired and this diff is already
too big.

Contributes to dotnet#5137.
MichalStrehovsky added a commit that referenced this issue Jul 13, 2020
Reflection-accessing threadstatic fields didn't work.

I'm also deleting a bunch of .NET Native code that is not relevant to CoreRT.
The .NET Native approach to threadstatics (using TLS region) is Windows-specific
and not portable.

The type loader support is incomplete (the compiler side is ready but runtime side is
still going to fail with a MissingTemplateException). I got tired and this diff is already
too big.

Contributes to #5137.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant