equal
deleted
inserted
replaced
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 |