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

@ -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);
}