This commit is contained in:
Jesper Wilhelmsson 2017-05-23 17:51:35 +02:00
commit d599f0d03a
1894 changed files with 125934 additions and 42245 deletions

View file

@ -245,6 +245,7 @@ oop StringTable::intern(Handle string_or_null, jchar* name,
assert(!Universe::heap()->is_in_reserved(name),
"proposed name of symbol must be stable");
HandleMark hm(THREAD); // cleanup strings created
Handle string;
// try to reuse the string if possible
if (!string_or_null.is_null()) {