summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorDavid Wrighton <davidwr@microsoft.com>2019-05-23 16:18:07 -0700
committerGitHub <noreply@github.com>2019-05-23 16:18:07 -0700
commitabdee1f2fa9531c78eeadef6d0bb8fb1f823d011 (patch)
tree7e5ed4af489c50339849dcf18b9e30b60b65d351 /build.cmd
parent046d61c972d0b8372cbb7cec98e5636e08735782 (diff)
downloadcoreclr-abdee1f2fa9531c78eeadef6d0bb8fb1f823d011.tar.gz
coreclr-abdee1f2fa9531c78eeadef6d0bb8fb1f823d011.tar.bz2
coreclr-abdee1f2fa9531c78eeadef6d0bb8fb1f823d011.zip
Fewer ilstubs in corelib from reflection apis (#24708)
Rework use of marshalling for RuntimeTypeHandle, RuntimeModule, RuntimeAssembly, and IRuntimeMethodInfo as used by QCalls - Remove special QCall only used marshallers for RuntimeAssembly, RuntimeModule and IRuntimeMethodInfo - Following the pattern of ObjectHandleOnStack, implement QCall handle types for RuntimeAssembly/Module/TypeHandle. Use these in all QCalls that once passed the types directly. - For uses of IRuntimeMethodInfo, follow the existing RuntimeMethodHandleInternal pattern Also perform some replacement of bool marshalling with use of Interop.BOOL, and a few cases of using pointers instead of byref arguments. Fix delivers a relatively small win on startup, and small throughput gains around reflection as IL stubs are no longer necessary for many functions in reflection that once needed them. Reduces methods jitted on powershell startup from 422 to 399, (About 5%) but performance win is only about 5ms on ~400ms as the methods removed are simple.
Diffstat (limited to 'build.cmd')
0 files changed, 0 insertions, 0 deletions