< prev index next >
src/hotspot/share/classfile/stringTable.cpp
Print this page
*** 340,350 ****
}
found_string = do_lookup(name, len, hash);
if (found_string != NULL) {
return found_string;
}
! return do_intern(string_or_null_h, name, len, hash, CHECK_NULL);
}
oop StringTable::do_intern(Handle string_or_null_h, const jchar* name,
int len, uintx hash, TRAPS) {
HandleMark hm(THREAD); // cleanup strings created
--- 340,350 ----
}
found_string = do_lookup(name, len, hash);
if (found_string != NULL) {
return found_string;
}
! return do_intern(string_or_null_h, name, len, hash, THREAD);
}
oop StringTable::do_intern(Handle string_or_null_h, const jchar* name,
int len, uintx hash, TRAPS) {
HandleMark hm(THREAD); // cleanup strings created
< prev index next >