src/hotspot/share/jvmci/compilerRuntime.cpp
changeset 54847 59ea39bb2809
parent 53582 881c5fbeb849
child 54892 eedc3db527ac
--- a/src/hotspot/share/jvmci/compilerRuntime.cpp	Tue May 14 11:28:44 2019 -0400
+++ b/src/hotspot/share/jvmci/compilerRuntime.cpp	Tue May 14 11:29:18 2019 -0400
@@ -45,8 +45,7 @@
       // First 2 bytes of name contains length (number of bytes).
       int len = Bytes::get_Java_u2((address)name);
       name += 2;
-      TempNewSymbol sym = SymbolTable::new_symbol(name, len, CHECK);
-      str = StringTable::intern(sym, CHECK);
+      str = StringTable::intern(name, CHECK);
       assert(java_lang_String::is_instance(str), "must be string");
       *(oop*)string_result = str; // Store result
     }
@@ -78,7 +77,7 @@
     name++;
     len -= 2;
   }
-  TempNewSymbol sym = SymbolTable::new_symbol(name, len, CHECK_NULL);
+  TempNewSymbol sym = SymbolTable::new_symbol(name, len);
   if (sym == NULL) {
     return NULL;
   }