Fix incorrect behavior noted while compiling large aspnet application with debug...
authorDavid Wrighton <davidwr@microsoft.com>
Sun, 12 Apr 2020 10:20:01 +0000 (03:20 -0700)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2020 10:20:01 +0000 (12:20 +0200)
commit8edd202fcd7b30f2a3423a495de8ba9bb8f23c7a
tree3c6360814b3d9f1a312fd33b204e3fc8e8010e15
parentc06810bf654e09f016fe34dd2b4ac31fb73370a1
Fix incorrect behavior noted while compiling large aspnet application with debug build of compiler (#34842)

- Multi-thread handling of UnboxingMethodDesc was incorrect. It would result in incorrect caching of fixups to unboxing methods
- ldtoken of a static method on a valuetype should not refer to an unboxing stub
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs
src/coreclr/src/tools/Common/JitInterface/UnboxingMethodDesc.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs