src/share/vm/opto/bytecodeInfo.cpp

changeset 1110
f6da6f0174ac
parent 802
194b8e3a2fc4
child 1161
be93aad57795
equal deleted inserted replaced
1109:4948e7dd28dc 1110:f6da6f0174ac
230 230
231 if (callee_method->should_not_inline()) { 231 if (callee_method->should_not_inline()) {
232 return "disallowed by CompilerOracle"; 232 return "disallowed by CompilerOracle";
233 } 233 }
234 234
235 if (UseStringCache) {
236 // Do not inline StringCache::profile() method used only at the beginning.
237 if (callee_method->name() == ciSymbol::profile_name() &&
238 callee_method->holder()->name() == ciSymbol::java_lang_StringCache()) {
239 return "profiling method";
240 }
241 }
242
235 return NULL; 243 return NULL;
236 } 244 }
237 245
238 //-----------------------------try_to_inline----------------------------------- 246 //-----------------------------try_to_inline-----------------------------------
239 // return NULL if ok, reason for not inlining otherwise 247 // return NULL if ok, reason for not inlining otherwise

mercurial