hotspot/src/share/vm/classfile/stringTable.cpp
changeset 46488 01c282163d38
parent 45114 45644c5f6b8e
parent 46369 3bf4544bec14
child 46522 86b13b03a053
--- a/hotspot/src/share/vm/classfile/stringTable.cpp	Fri May 19 04:18:25 2017 +0000
+++ b/hotspot/src/share/vm/classfile/stringTable.cpp	Tue May 23 17:51:35 2017 +0200
@@ -245,6 +245,7 @@
   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()) {