-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Remove HelperMethodFrames (HMF) from Reflection code paths #108535
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 HelperMethodFrames (HMF) from Reflection code paths #108535
Conversation
|
Tagging subscribers to this area: @mangod9 |
src/mono/System.Private.CoreLib/src/System/TypedReference.Mono.cs
Outdated
Show resolved
Hide resolved
…anaged. CoreCLR now supports EnC with TypedReference.
src/coreclr/System.Private.CoreLib/src/System/TypedReference.CoreCLR.cs
Outdated
Show resolved
Hide resolved
Cleanup failing test.
Make ByteRefOnStack more similar to ObjectHandleOnStack.
src/mono/System.Private.CoreLib/src/System/TypedReference.Mono.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/TypedReference.CoreCLR.cs
Outdated
Show resolved
Hide resolved
jkotas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CoreCLR part LGTM. Thank you!
@lambdageek Could you please take a look at the Mono specific part?
src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/TypedReference.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/TypedReference.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/TypedReference.CoreCLR.cs
Outdated
Show resolved
Hide resolved
|
@lambdageek This should be green now. I needed to add a new ICALL to get the |
lambdageek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mono bits LGTM. (although I have a couple questions).
You can add an EnC test for TypedReferece.MakeTypedReference near here
|
/ba-g Innerloop timeout |
|
Excited to see how the QCall magic will work its charm on the tricky reflection endpoints (especially curious about what will replace the |
Remove
RuntimeFieldHandle.GetName()FCall.Remove
RuntimeMethodHandle.GetName()FCall.Cleanup
RuntimeTypeHandle.GetUtf8NameInternal().Convert
TypedReference.MakeTypedReference()to mostly managed.Convert
RuntimeFieldHandle.GetValueDirect()to QCall.Convert
RuntimeFieldHandle.SetValueDirect()to QCall.Removed unused
FCThrow*macros.