Uh oh!
There was an error while loading. Please reload this page.
Remove helperframe marshal - #96860
Conversation
Convert Marshal.GetHRForException and Marshal.GetExceptionForHRInternal to QCalls.
davidwrighton
left a comment
There was a problem hiding this comment.
OffsetOfInternal shouldn't take a field object, it should just be implemented as taking a FieldDesc* as input. Then it won't need anything to do with wonking around with the GC state at all, and can operate entirely in preemptive mode
AaronRobinsonMSFT
commented
Jan 11, 2024
@davidwrighton Done. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
davidwrighton
left a comment
There was a problem hiding this comment.
Just one more nit... around unnecessary GCX_PREEMP();
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…ervices/Marshal.CoreCLR.cs
Uh oh!
There was an error while loading. Please reload this page.
* Remove HelperMethodFrames from Marshal APIs Convert Marshal.GetHRForException and Marshal.GetExceptionForHRInternal to QCalls. * Convert OffsetOfHelper to QCall * Feedback * Remove GC transition. * Update src/coreclr/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs * Update src/coreclr/vm/marshalnative.cpp --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Convert
MarshalAPI FCalls withHelperMethodFramesinto QCalls.