< prev index next >

src/hotspot/share/classfile/symbolTable.cpp

Print this page

*** 672,683 **** int len = sym->utf8_length(); unsigned int hash = hash_symbol(name, len, SymbolTable::_alt_hash); assert(sym == _shared_table.lookup(name, hash, len), "sanity"); } ! void SymbolTable::serialize(SerializeClosure* soc) { ! _shared_table.serialize(soc); if (soc->writing()) { // Sanity. Make sure we don't use the shared table at dump time _shared_table.reset(); } --- 672,683 ---- int len = sym->utf8_length(); unsigned int hash = hash_symbol(name, len, SymbolTable::_alt_hash); assert(sym == _shared_table.lookup(name, hash, len), "sanity"); } ! void SymbolTable::serialize_shared_table_header(SerializeClosure* soc) { ! _shared_table.serialize_header(soc); if (soc->writing()) { // Sanity. Make sure we don't use the shared table at dump time _shared_table.reset(); }
< prev index next >