mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8244955: Additional Fix for JDK-8240124
Reviewed-by: rehn, pliden, smarks
This commit is contained in:
parent
798bfb3b9c
commit
5f1918db26
8 changed files with 106 additions and 120 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue