--- old/src/hotspot/share/classfile/symbolTable.hpp 2018-08-10 11:33:57.000000000 -0500 +++ new/src/hotspot/share/classfile/symbolTable.hpp 2018-08-10 11:33:57.000000000 -0500 @@ -176,7 +176,7 @@ public: // The symbol table static SymbolTable* the_table() { return _the_table; } - size_t table_size(Thread* thread = NULL); + size_t table_size(); enum { symbol_alloc_batch_size = 8, @@ -201,7 +201,7 @@ static Symbol* lookup(const char* name, int len, TRAPS); // lookup only, won't add. Also calculate hash. static Symbol* lookup_only(const char* name, int len, unsigned int& hash); - // Only copy to C string to be added if lookup failed. + // adds new symbol if not found static Symbol* lookup(const Symbol* sym, int begin, int end, TRAPS); // jchar (UTF16) version of lookups static Symbol* lookup_unicode(const jchar* name, int len, TRAPS);