mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -108,7 +108,7 @@ static inline void log_trace_symboltable_helper(Symbol* sym, const char* msg) {
|
|||
// Pick hashing algorithm.
|
||||
static uintx hash_symbol(const char* s, int len, bool useAlt) {
|
||||
return useAlt ?
|
||||
AltHashing::halfsiphash_64(_alt_hash_seed, (const int8_t*)s, len) :
|
||||
AltHashing::halfsiphash_32(_alt_hash_seed, (const uint8_t*)s, len) :
|
||||
java_lang_String::hash_code((const jbyte*)s, len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue