< prev index next >

src/hotspot/share/classfile/stringTable.cpp

Print this page

        

*** 759,768 **** --- 759,770 ---- oop s = val->peek(); if (s == NULL) { return true; } unsigned int hash = java_lang_String::hash_code(s); + + java_lang_String::set_hash(s, hash); oop new_s = StringTable::create_archived_string(s, Thread::current()); if (new_s == NULL) { return true; }
< prev index next >