8244955: Additional Fix for JDK-8240124

Reviewed-by: rehn, pliden, smarks
This commit is contained in:
Coleen Phillimore 2020-05-18 11:16:19 -04:00 committed by Henry Jen
parent 798bfb3b9c
commit 5f1918db26
8 changed files with 106 additions and 120 deletions

View file

@ -95,7 +95,7 @@ static uint64_t _alt_hash_seed = 0;
uintx hash_string(const jchar* s, int len, bool useAlt) {
return useAlt ?
AltHashing::halfsiphash_64(_alt_hash_seed, s, len) :
AltHashing::halfsiphash_32(_alt_hash_seed, s, len) :
java_lang_String::hash_code(s, len);
}