hotspot/src/share/vm/opto/bytecodeInfo.cpp
changeset 18946 65a870954fd7
parent 17386 e3b1a1af9968
child 20073 bfc95277d42b
--- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Wed Jul 17 13:48:15 2013 +0200
+++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Thu Jul 18 14:57:51 2013 -0700
@@ -297,15 +297,6 @@
     }
   }
 
-  if (UseStringCache) {
-    // Do not inline StringCache::profile() method used only at the beginning.
-    if (callee_method->name() == ciSymbol::profile_name() &&
-        callee_method->holder()->name() == ciSymbol::java_lang_StringCache()) {
-      set_msg("profiling method");
-      return true;
-    }
-  }
-
   // use frequency-based objections only for non-trivial methods
   if (callee_method->code_size() <= MaxTrivialSize) {
     return false;