Remove fragile NGen logic for precomputed hashcodes (#82563)
authorAaron Robinson <arobins@microsoft.com>
Thu, 9 Mar 2023 02:48:42 +0000 (21:48 -0500)
committerGitHub <noreply@github.com>
Thu, 9 Mar 2023 02:48:42 +0000 (21:48 -0500)
commit5a45085c15deaaa518eac752026ae3cce7f2908b
tree8a4d5117f8798b9390e870ef1bb553a752c154f9
parentae4ba7fb3ec2148e89d58f396b06f4f23c3875a4
Remove fragile NGen logic for precomputed hashcodes (#82563)

* Remove fragile NGen logic for precomputed hashcodes

Hashing was confirmed to offer minor performance wins
but not with lazy hash code generation. Pre hashing was needed
to have a benefit on start-up but even then it was minor.
src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs
src/coreclr/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs
src/coreclr/vm/ecalllist.h
src/coreclr/vm/field.cpp
src/coreclr/vm/field.h
src/coreclr/vm/memberload.cpp
src/coreclr/vm/method.cpp
src/coreclr/vm/method.hpp
src/coreclr/vm/qcallentrypoints.cpp
src/coreclr/vm/runtimehandles.cpp
src/coreclr/vm/runtimehandles.h