-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issuePerformance related issue
Milestone
Description
Currently, for e.g. typeof(int)
we emit something like this:
mov rcx, 0x7FF96C7D9BA0
call CORINFO_HELP_TYPEHANDLE_TO_RUNTIMETYPE
Can we just emit a raw pointer to m_hLoaderAllocatorObjectHandle
with a jit-time known offset based on the typehandle and get rid of that call? (for non-collectible/non-shared types).
In my current jit-diff dump (PMI) I see 5898 call CORINFO_HELP_TYPEHANDLE_TO_RUNTIMETYPEHANDLE
/cc @jkotas
pentp
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issuePerformance related issue
Type
Projects
Status
Done