< prev index next >

src/share/vm/classfile/symbolTable.cpp

Print this page

        

*** 242,252 **** // Pick hashing algorithm. unsigned int SymbolTable::hash_symbol(const char* s, int len) { return use_alternate_hashcode() ? AltHashing::murmur3_32(seed(), (const jbyte*)s, len) : ! java_lang_String::hash_code(s, len); } // We take care not to be blocking while holding the // SymbolTable_lock. Otherwise, the system might deadlock, since the --- 242,252 ---- // Pick hashing algorithm. unsigned int SymbolTable::hash_symbol(const char* s, int len) { return use_alternate_hashcode() ? AltHashing::murmur3_32(seed(), (const jbyte*)s, len) : ! java_lang_String::hash_code((const jbyte*)s, len); } // We take care not to be blocking while holding the // SymbolTable_lock. Otherwise, the system might deadlock, since the
< prev index next >