src/hotspot/share/classfile/stringTable.cpp
changeset 55734 51f5b4c29626
parent 55478 ae2e53e379cb
child 57828 35db8fba55f9
equal deleted inserted replaced
55733:9cfb9387a9e8 55734:51f5b4c29626
   340   }
   340   }
   341   found_string = do_lookup(name, len, hash);
   341   found_string = do_lookup(name, len, hash);
   342   if (found_string != NULL) {
   342   if (found_string != NULL) {
   343     return found_string;
   343     return found_string;
   344   }
   344   }
   345   return do_intern(string_or_null_h, name, len, hash, CHECK_NULL);
   345   return do_intern(string_or_null_h, name, len, hash, THREAD);
   346 }
   346 }
   347 
   347 
   348 oop StringTable::do_intern(Handle string_or_null_h, const jchar* name,
   348 oop StringTable::do_intern(Handle string_or_null_h, const jchar* name,
   349                            int len, uintx hash, TRAPS) {
   349                            int len, uintx hash, TRAPS) {
   350   HandleMark hm(THREAD);  // cleanup strings created
   350   HandleMark hm(THREAD);  // cleanup strings created