This commit is contained in:
Jesper Wilhelmsson 2017-04-06 22:58:55 +02:00
commit cc14920031
1366 changed files with 37486 additions and 30689 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()) {