Enable R2R compilation/inlining of PInvoke stubs where no marshalling is...
Enable R2R compilation/inlining of PInvoke stubs where no marshalling is required (dotnet/coreclr#22560) * These changes enable the inlining of some PInvokes that do not require any marshalling. With inlined pinvokes, R2R performance should become slightly better, since we'll avoid jitting some of the pinvoke IL stubs that we jit today for S.P.CoreLib. Performance gains not yet measured. * Added JIT_PInvokeBegin/End helpers for all architectures. Linux stubs not yet implemented * Add INLINE_GETTHREAD for arm/arm64 * Set CORJIT_FLAG_USE_PINVOKE_HELPERS jit flag for ReadyToRun compilations * Updating R2RDump tool to handle pinvokes Commit migrated from https://github.com/dotnet/coreclr/commit/bc9248cad132fa01dd2b641b6b22849bc7a05457
Showing
想要评论请 注册 或 登录