You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See dotnet/coreclr#12036 (comment) for details. The fact that IsPreemptiveGCDisabled, Enable/DisablePreemptiveGC, GetAllocContext, and CatchAtSafePoint each take a Thread parameter instead of operating on the current thread ensures that callers will incur the cost of at least two indirections: once to call GetThread and once again to call the function unsing the thread.
If each one of the above functions operates on the current thread, it can avoid an indirection in the GC by directly calling GetThread.
The text was updated successfully, but these errors were encountered:
See dotnet/coreclr#12036 (comment) for details. The fact that
IsPreemptiveGCDisabled
,Enable/DisablePreemptiveGC
,GetAllocContext
, andCatchAtSafePoint
each take a Thread parameter instead of operating on the current thread ensures that callers will incur the cost of at least two indirections: once to callGetThread
and once again to call the function unsing the thread.If each one of the above functions operates on the current thread, it can avoid an indirection in the GC by directly calling GetThread.
The text was updated successfully, but these errors were encountered: