diff options
author | Dan Moseley <danmose@microsoft.com> | 2017-08-27 23:51:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-27 23:51:22 -0700 |
commit | 5c07c5aa98f8a088bf25099f1ab2d38b59ea5478 (patch) | |
tree | cca21075b126112fef646b28ff646cf9f5313516 /src/vm/appdomain.cpp | |
parent | 0db6d91ec163eb2ddc005d141fe13ee0df267af0 (diff) | |
download | coreclr-5c07c5aa98f8a088bf25099f1ab2d38b59ea5478.tar.gz coreclr-5c07c5aa98f8a088bf25099f1ab2d38b59ea5478.tar.bz2 coreclr-5c07c5aa98f8a088bf25099f1ab2d38b59ea5478.zip |
Remove always defined FEATURE_RANDOMIZE_STRING_HASHING define (#13491)
* Remove always defined FEATURE_RANDOMIZE_STRING_HASHING
* Fully remove randomized hashing
* Leftovers
* Remove additionalEntropy from HashSortKey as it was always 0
* Remove additionalEntropy from HashString as it was always 0
* Change to private, as not in fact called by reflection in .NET Core
* Fix build break due to FCDECLn
* Revert removed QCALL
* Remove unused strlen parameter
Diffstat (limited to 'src/vm/appdomain.cpp')
-rw-r--r-- | src/vm/appdomain.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vm/appdomain.cpp b/src/vm/appdomain.cpp index a569b90052..7b0da7f5a2 100644 --- a/src/vm/appdomain.cpp +++ b/src/vm/appdomain.cpp @@ -78,12 +78,10 @@ #include "clrprivtypecachewinrt.h" -#ifdef FEATURE_RANDOMIZED_STRING_HASHING #pragma warning(push) #pragma warning(disable:4324) #include "marvin32.h" #pragma warning(pop) -#endif // this file handles string conversion errors for itself #undef MAKE_TRANSLATIONFAILED @@ -709,10 +707,6 @@ OBJECTHANDLE ThreadStaticHandleTable::AllocateHandles(DWORD nRequested) //***************************************************************************** void BaseDomain::Attach() { -#ifdef FEATURE_RANDOMIZED_STRING_HASHING - // Randomized string hashing is on by default for String.GetHashCode in coreclr. - COMNlsHashProvider::s_NlsHashProvider.SetUseRandomHashing((CorHost2::GetStartupFlags() & STARTUP_DISABLE_RANDOMIZED_STRING_HASHING) == 0); -#endif // FEATURE_RANDOMIZED_STRING_HASHING m_SpecialStaticsCrst.Init(CrstSpecialStatics); } |